function ContentModerationHooks::entityBaseFieldInfo
Implements hook_entity_base_field_info().
File
-
core/
modules/ content_moderation/ src/ Hook/ ContentModerationHooks.php, line 82
Class
- ContentModerationHooks
- Hook implementations for content_moderation.
Namespace
Drupal\content_moderation\HookCode
public function entityBaseFieldInfo(EntityTypeInterface $entity_type) {
return \Drupal::service('class_resolver')->getInstanceFromDefinition(EntityTypeInfo::class)
->entityBaseFieldInfo($entity_type);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.