public function EntityActionsDeriver::__construct in Entity API 8
Constructs an entity local actions deriver.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- src/
Plugin/ Derivative/ EntityActionsDeriver.php, line 28
Class
- EntityActionsDeriver
- Derives local actions for entity types.
Namespace
Drupal\entity\Plugin\DerivativeCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}