function UnpublishByKeywordNode::defaultConfiguration

Same name in other branches
  1. 9 core/modules/node/src/Plugin/Action/UnpublishByKeywordNode.php \Drupal\node\Plugin\Action\UnpublishByKeywordNode::defaultConfiguration()
  2. 8.9.x core/modules/node/src/Plugin/Action/UnpublishByKeywordNode.php \Drupal\node\Plugin\Action\UnpublishByKeywordNode::defaultConfiguration()
  3. 11.x core/modules/node/src/Plugin/Action/UnpublishByKeywordNode.php \Drupal\node\Plugin\Action\UnpublishByKeywordNode::defaultConfiguration()

Overrides ConfigurableActionBase::defaultConfiguration

File

core/modules/action/src/Plugin/Action/UnpublishByKeywordNode.php, line 44

Class

UnpublishByKeywordNode
Unpublishes a node containing certain keywords.

Namespace

Drupal\action\Plugin\Action

Code

public function defaultConfiguration() {
    return [
        'keywords' => [],
    ];
}

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