You are here

public function EntityTreeNodeMapperInterface::loadEntitiesForTreeNodesWithoutAccessChecks in Entity Reference Hierarchy 3.x

Same name and namespace in other branches
  1. 8.2 src/Storage/EntityTreeNodeMapperInterface.php \Drupal\entity_hierarchy\Storage\EntityTreeNodeMapperInterface::loadEntitiesForTreeNodesWithoutAccessChecks()

Loads Drupal entities for given tree nodes.

Parameters

string $entity_type_id: Entity Type ID.

\PNX\NestedSet\Node[] $nodes: Tree node to load entity for.

\Drupal\Core\Cache\RefinableCacheableDependencyInterface $cache: (optional) Cache metadata.

Return value

\SplObjectStorage Map of entities keyed by node.

1 method overrides EntityTreeNodeMapperInterface::loadEntitiesForTreeNodesWithoutAccessChecks()
EntityTreeNodeMapper::loadEntitiesForTreeNodesWithoutAccessChecks in src/Storage/EntityTreeNodeMapper.php
Loads Drupal entities for given tree nodes.

File

src/Storage/EntityTreeNodeMapperInterface.php, line 25

Class

EntityTreeNodeMapperInterface
Takes an array of tree nodes & returns matching entities, keyed by tree node.

Namespace

Drupal\entity_hierarchy\Storage

Code

public function loadEntitiesForTreeNodesWithoutAccessChecks($entity_type_id, array $nodes, RefinableCacheableDependencyInterface $cache = NULL);