function AssignOwnerNode::__construct

Same name in this branch
  1. 10 core/modules/action/src/Plugin/Action/AssignOwnerNode.php \Drupal\action\Plugin\Action\AssignOwnerNode::__construct()
Same name in other branches
  1. 9 core/modules/node/src/Plugin/Action/AssignOwnerNode.php \Drupal\node\Plugin\Action\AssignOwnerNode::__construct()
  2. 8.9.x core/modules/node/src/Plugin/Action/AssignOwnerNode.php \Drupal\node\Plugin\Action\AssignOwnerNode::__construct()
  3. 11.x core/modules/node/src/Plugin/Action/AssignOwnerNode.php \Drupal\node\Plugin\Action\AssignOwnerNode::__construct()

Overrides AssignOwnerNode::__construct

File

core/modules/node/src/Plugin/Action/AssignOwnerNode.php, line 21

Class

AssignOwnerNode
Assigns ownership of a node to a user.

Namespace

Drupal\node\Plugin\Action

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, Connection $connection) {
    @trigger_error(__CLASS__ . ' is deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. Use \\Drupal\\action\\Plugin\\Action\\AssignOwnerNode instead. See https://www.drupal.org/node/3424506', E_USER_DEPRECATED);
    parent::__construct($configuration, $plugin_id, $plugin_definition, $connection);
}

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