field_ui_local_tasks_alter(&$local_tasks)
Implements hook_local_tasks_alter().
File
- core/modules/field_ui/field_ui.module, line 235
- Allows administrators to attach custom fields to fieldable types.
Code
function field_ui_local_tasks_alter(&$local_tasks) { $container = \Drupal::getContainer(); $local_task = FieldUiLocalTask::create($container, 'field_ui.fields'); $local_task->alterLocalTasks($local_tasks); }
Please login to continue.