You are here

public function PreSendPrintEvent::getEntities in Entity Print 8.2

Gets the entities that is being printed to Print.

Return value

\Drupal\Core\Entity\EntityInterface[] The content entities.

File

src/Event/PreSendPrintEvent.php, line 38

Class

PreSendPrintEvent
The PreSendPrintEvent class.

Namespace

Drupal\entity_print\Event

Code

public function getEntities() {
  return $this->entities;
}