protected function LastRevisionAuthor::setEntityTypeManager in Workbench Email 2.x
Same name and namespace in other branches
- 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\RecipientTypeCode
protected function setEntityTypeManager(EntityTypeManagerInterface $entityTypeManager) {
$this->entityTypeManager = $entityTypeManager;
return $this;
}