function WorkspacesHooks::entityBaseFieldInfo
Implements hook_entity_base_field_info().
File
-
core/
modules/ workspaces/ src/ Hook/ WorkspacesHooks.php, line 99
Class
- WorkspacesHooks
- Hook implementations for workspaces.
Namespace
Drupal\workspaces\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.