function content_moderation_entity_base_field_info

Same name in other branches
  1. 9 core/modules/content_moderation/content_moderation.module \content_moderation_entity_base_field_info()
  2. 10 core/modules/content_moderation/content_moderation.module \content_moderation_entity_base_field_info()

Implements hook_entity_base_field_info().

File

core/modules/content_moderation/content_moderation.module, line 67

Code

function content_moderation_entity_base_field_info(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.