function workspaces_entity_type_alter
Same name and namespace in other branches
- 9 core/modules/workspaces/workspaces.module \workspaces_entity_type_alter()
- 8.9.x 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 73
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.