function hook_ds_field_operations_alter in Display Suite 8.3
Same name and namespace in other branches
- 8.4 ds.api.php \hook_ds_field_operations_alter()
- 8.2 ds.api.php \hook_ds_field_operations_alter()
Allow modules to alter the operations on the dynamic field overview page.
1 function implements hook_ds_field_operations_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- ds_ds_field_operations_alter in ./
ds.module - Implements hook_ds_field_operations_alter().
1 invocation of hook_ds_field_operations_alter()
- FieldController::fieldList in src/
Controller/ FieldController.php - Builds a list of fields.
File
- ./
ds.api.php, line 194 - Hooks provided by Display Suite module.
Code
function hook_ds_field_operations_alter(&$operations, $field) {
if ($field['type'] == 'block') {
unset($operations['edit']);
}
}