You are here

public function ConfigurableActionBase::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Action/ConfigurableActionBase.php \Drupal\Core\Action\ConfigurableActionBase::__construct()

Constructs a Drupal\Component\Plugin\PluginBase 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.

Overrides PluginBase::__construct

6 calls to ConfigurableActionBase::__construct()
AssignOwnerNode::__construct in core/modules/node/src/Plugin/Action/AssignOwnerNode.php
Constructs a new AssignOwnerNode action.
ChangeUserRoleBase::__construct in core/modules/user/src/Plugin/Action/ChangeUserRoleBase.php
Constructs a Drupal\Component\Plugin\PluginBase object.
EmailAction::__construct in core/modules/action/src/Plugin/Action/EmailAction.php
Constructs a EmailAction object.
GotoAction::__construct in core/modules/action/src/Plugin/Action/GotoAction.php
Constructs a new DeleteNode object.
MessageAction::__construct in core/modules/action/src/Plugin/Action/MessageAction.php
Constructs a MessageAction object.

... See full list

6 methods override ConfigurableActionBase::__construct()
AssignOwnerNode::__construct in core/modules/node/src/Plugin/Action/AssignOwnerNode.php
Constructs a new AssignOwnerNode action.
ChangeUserRoleBase::__construct in core/modules/user/src/Plugin/Action/ChangeUserRoleBase.php
Constructs a Drupal\Component\Plugin\PluginBase object.
EmailAction::__construct in core/modules/action/src/Plugin/Action/EmailAction.php
Constructs a EmailAction object.
GotoAction::__construct in core/modules/action/src/Plugin/Action/GotoAction.php
Constructs a new DeleteNode object.
MessageAction::__construct in core/modules/action/src/Plugin/Action/MessageAction.php
Constructs a MessageAction object.

... See full list

File

core/lib/Drupal/Core/Action/ConfigurableActionBase.php, line 22
Contains \Drupal\Core\Action\ConfigurableActionBase.

Class

ConfigurableActionBase
Provides a base implementation for a configurable Action plugin.

Namespace

Drupal\Core\Action

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->configuration += $this
    ->defaultConfiguration();
}