function lightning_core_local_tasks_alter in Lightning Core 8
Same name and namespace in other branches
- 8.5 lightning_core.module \lightning_core_local_tasks_alter()
- 8.2 lightning_core.module \lightning_core_local_tasks_alter()
- 8.3 lightning_core.module \lightning_core_local_tasks_alter()
- 8.4 lightning_core.module \lightning_core_local_tasks_alter()
Implements hook_local_tasks_alter().
File
- ./
lightning_core.module, line 23 - Contains core functionality for the Lightning distribution.
Code
function lightning_core_local_tasks_alter(array &$local_tasks) {
$local_tasks['entity.node.edit_form']['options']['attributes']['rel'] = 'edit-form';
}