function workspaces_entity_base_field_info

Same name in other branches
  1. 9 core/modules/workspaces/workspaces.module \workspaces_entity_base_field_info()
  2. 8.9.x core/modules/workspaces/workspaces.module \workspaces_entity_base_field_info()

Implements hook_entity_base_field_info().

File

core/modules/workspaces/workspaces.module, line 112

Code

function workspaces_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.