function workspaces_field_info_alter
Same name in other branches
- 8.9.x core/modules/workspaces/workspaces.module \workspaces_field_info_alter()
- 10 core/modules/workspaces/workspaces.module \workspaces_field_info_alter()
- 11.x core/modules/workspaces/workspaces.module \workspaces_field_info_alter()
Implements hook_field_info_alter().
File
-
core/
modules/ workspaces/ workspaces.module, line 73
Code
function workspaces_field_info_alter(&$definitions) {
\Drupal::service('class_resolver')->getInstanceFromDefinition(EntityTypeInfo::class)
->fieldInfoAlter($definitions);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.