function workspaces_entity_preload

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

Implements hook_entity_preload().

File

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

Code

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