You are here

protected function LastRevisionAuthor::setEntityTypeManager in Workbench Email 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/RecipientType/LastRevisionAuthor.php \Drupal\workbench_email\Plugin\RecipientType\LastRevisionAuthor::setEntityTypeManager()

Sets entity type manager.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Entity type manager.

Return value

$this

File

src/Plugin/RecipientType/LastRevisionAuthor.php, line 47

Class

LastRevisionAuthor
Defines a plugin for mailing to last revision author.

Namespace

Drupal\workbench_email\Plugin\RecipientType

Code

protected function setEntityTypeManager(EntityTypeManagerInterface $entityTypeManager) {
  $this->entityTypeManager = $entityTypeManager;
  return $this;
}