function workspace_entity_load in Workspace 8.2
Implements hook_entity_load().
File
- ./
workspace.module, line 57 - Provides full-site preview functionality for content staging.
Code
function workspace_entity_load(array &$entities, $entity_type_id) {
return \Drupal::service('class_resolver')
->getInstanceFromDefinition(EntityOperations::class)
->entityLoad($entities, $entity_type_id);
}