public function ScheduledTransitionsLocalActions::__construct in Scheduled Transitions 8
Same name and namespace in other branches
- 2.x src/Plugin/Derivative/ScheduledTransitionsLocalActions.php \Drupal\scheduled_transitions\Plugin\Derivative\ScheduledTransitionsLocalActions::__construct()
Creates a new ScheduledTransitionsLocalTask.
Parameters
string $base_plugin_id: The base plugin ID.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity type manager.
File
- src/
Plugin/ Derivative/ ScheduledTransitionsLocalActions.php, line 45
Class
- ScheduledTransitionsLocalActions
- Scheduled transitions actions for entities.
Namespace
Drupal\scheduled_transitions\Plugin\DerivativeCode
public function __construct($base_plugin_id, EntityTypeManagerInterface $entity_type_manager) {
$this->basePluginId = $base_plugin_id;
$this->entityTypeManager = $entity_type_manager;
}