function ConfigurableActionBase::__construct

Same name in other branches
  1. 9 core/lib/Drupal/Core/Action/ConfigurableActionBase.php \Drupal\Core\Action\ConfigurableActionBase::__construct()
  2. 8.9.x core/lib/Drupal/Core/Action/ConfigurableActionBase.php \Drupal\Core\Action\ConfigurableActionBase::__construct()
  3. 10 core/lib/Drupal/Core/Action/ConfigurableActionBase.php \Drupal\Core\Action\ConfigurableActionBase::__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
EmailAction::__construct in core/lib/Drupal/Core/Action/Plugin/Action/EmailAction.php
Constructs an EmailAction object.
GotoAction::__construct in core/lib/Drupal/Core/Action/Plugin/Action/GotoAction.php
Constructs a GotoAction object.
MessageAction::__construct in core/lib/Drupal/Core/Action/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
EmailAction::__construct in core/lib/Drupal/Core/Action/Plugin/Action/EmailAction.php
Constructs an EmailAction object.
GotoAction::__construct in core/lib/Drupal/Core/Action/Plugin/Action/GotoAction.php
Constructs a GotoAction object.
MessageAction::__construct in core/lib/Drupal/Core/Action/Plugin/Action/MessageAction.php
Constructs a MessageAction object.

... See full list

File

core/lib/Drupal/Core/Action/ConfigurableActionBase.php, line 18

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->setConfiguration($configuration);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.