function WorkspacesHooks::entityPreload

Implements hook_entity_preload().

File

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

Class

WorkspacesHooks
Hook implementations for workspaces.

Namespace

Drupal\workspaces\Hook

Code

public function entityPreload(array $ids, $entity_type_id) {
    return \Drupal::service('class_resolver')->getInstanceFromDefinition(EntityOperations::class)
        ->entityPreload($ids, $entity_type_id);
}

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