content_moderation_entity_base_field_info

content_moderation_entity_base_field_info(EntityTypeInterface $entity_type)

Implements hook_entity_base_field_info().

File

core/modules/content_moderation/content_moderation.module, line 51
Contains content_moderation.module.

Code

function content_moderation_entity_base_field_info(EntityTypeInterface $entity_type) {
  return \Drupal::service('class_resolver')
    ->getInstanceFromDefinition(EntityTypeInfo::class)
    ->entityBaseFieldInfo($entity_type);
}
doc_Drupal
2016-10-29 08:58:32
Comments
Leave a Comment

Please login to continue.