protected function UnpublishByKeywordComment::getDefaultConfiguration

Returns default configuration for this action.

Return value

array

Overrides ConfigurableActionBase::getDefaultConfiguration

File

drupal/core/modules/comment/lib/Drupal/comment/Plugin/Action/UnpublishByKeywordComment.php, line 43
Contains \Drupal\comment\Plugin\Action\UnpublishByKeywordComment.

Class

UnpublishByKeywordComment
Unpublishes a comment containing certain keywords.

Namespace

Drupal\comment\Plugin\Action

Code

protected function getDefaultConfiguration() {
  return array(
    'keywords' => array(),
  );
}