function UnpublishByKeywordNode::defaultConfiguration
Same name in other branches
- 9 core/modules/node/src/Plugin/Action/UnpublishByKeywordNode.php \Drupal\node\Plugin\Action\UnpublishByKeywordNode::defaultConfiguration()
- 8.9.x core/modules/node/src/Plugin/Action/UnpublishByKeywordNode.php \Drupal\node\Plugin\Action\UnpublishByKeywordNode::defaultConfiguration()
- 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\ActionCode
public function defaultConfiguration() {
return [
'keywords' => [],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.