You are here

public function FillPdfContextManagerInterface::loadEntities in FillPDF 5.0.x

Same name and namespace in other branches
  1. 8.4 src/FillPdfContextManagerInterface.php \Drupal\fillpdf\FillPdfContextManagerInterface::loadEntities()

Loads the entities specified in $context['entity_ids'].

Parameters

array $context: The FillPDF request context as returned by FillPdfLinkManipulatorInterface::parseLink().

Return value

\Drupal\Core\Entity\EntityInterface[][] Multidimensional array of entities, keyed by ID and grouped by entity type. Returns an empty array if no matching entities are found.

See also

\Drupal\fillpdf\FillPdfLinkManipulatorInterface::parseLink()

1 method overrides FillPdfContextManagerInterface::loadEntities()
FillPdfContextManager::loadEntities in src/Service/FillPdfContextManager.php
Loads the entities specified in $context['entity_ids'].

File

src/FillPdfContextManagerInterface.php, line 28

Class

FillPdfContextManagerInterface
Load entities from a FillPDF $context.

Namespace

Drupal\fillpdf

Code

public function loadEntities(array $context);