You are here

public function UnpublishByKeywordComment::defaultConfiguration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/comment/src/Plugin/Action/UnpublishByKeywordComment.php \Drupal\comment\Plugin\Action\UnpublishByKeywordComment::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableActionBase::defaultConfiguration

File

core/modules/comment/src/Plugin/Action/UnpublishByKeywordComment.php, line 96
Contains \Drupal\comment\Plugin\Action\UnpublishByKeywordComment.

Class

UnpublishByKeywordComment
Unpublishes a comment containing certain keywords.

Namespace

Drupal\comment\Plugin\Action

Code

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