public function SchedulerRulesActionBase::__construct in Scheduler 2.x
Constructs a SchedulerRulesActionBase object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin ID for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
File
- scheduler_rules_integration/
src/ Plugin/ RulesAction/ SchedulerRulesActionBase.php, line 32
Class
- SchedulerRulesActionBase
- Provides base class on which all Scheduler Rules actions are built.
Namespace
Drupal\scheduler_rules_integration\Plugin\RulesActionCode
public function __construct(array $configuration, $plugin_id, $plugin_definition) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->entityTypeId = $plugin_definition['entity_type_id'];
}