You are here

public function UnpublishByKeywordComment::defaultConfiguration in Drupal 10

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

File

core/modules/comment/src/Plugin/Action/UnpublishByKeywordComment.php, line 91

Class

UnpublishByKeywordComment
Unpublishes a comment containing certain keywords.

Namespace

Drupal\comment\Plugin\Action

Code

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