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