public function UnpublishByKeywordNode::defaultConfiguration in Drupal 8
Same name and namespace in other branches
- 9 core/modules/node/src/Plugin/Action/UnpublishByKeywordNode.php \Drupal\node\Plugin\Action\UnpublishByKeywordNode::defaultConfiguration()
- 10 core/modules/node/src/Plugin/Action/UnpublishByKeywordNode.php \Drupal\node\Plugin\Action\UnpublishByKeywordNode::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConfigurableActionBase::defaultConfiguration
File
- core/
modules/ node/ src/ Plugin/ Action/ UnpublishByKeywordNode.php, line 41
Class
- UnpublishByKeywordNode
- Unpublishes a node containing certain keywords.
Namespace
Drupal\node\Plugin\ActionCode
public function defaultConfiguration() {
return [
'keywords' => [],
];
}