function devel_entity_type_alter
Same name in other branches
- 8.x-1.x devel.module \devel_entity_type_alter()
- 5.x devel.module \devel_entity_type_alter()
Implements hook_entity_type_alter().
File
-
./
devel.module, line 91
Code
function devel_entity_type_alter(array &$entity_types) {
return \Drupal::service('class_resolver')->getInstanceFromDefinition(EntityTypeInfo::class)
->entityTypeAlter($entity_types);
}