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. 10 core/modules/action/src/Plugin/Action/UnpublishByKeywordNode.php \Drupal\action\Plugin\Action\UnpublishByKeywordNode::defaultConfiguration()

Overrides ConfigurableActionBase::defaultConfiguration

File

core/modules/node/src/Plugin/Action/UnpublishByKeywordNode.php, line 42

Class

UnpublishByKeywordNode
Unpublishes a node containing certain keywords.

Namespace

Drupal\node\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.