function WorkspacesHooks::fieldInfoAlter

Implements hook_field_info_alter().

File

core/modules/workspaces/src/Hook/WorkspacesHooks.php, line 91

Class

WorkspacesHooks
Hook implementations for workspaces.

Namespace

Drupal\workspaces\Hook

Code

public function fieldInfoAlter(&$definitions) : void {
    \Drupal::service('class_resolver')->getInstanceFromDefinition(EntityTypeInfo::class)
        ->fieldInfoAlter($definitions);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.