You are here

public function UnpublishByKeywordNode::defaultConfiguration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 43
Contains \Drupal\node\Plugin\Action\UnpublishByKeywordNode.

Class

UnpublishByKeywordNode
Unpublishes a node containing certain keywords.

Namespace

Drupal\node\Plugin\Action

Code

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