public function UnpublishByKeywordComment::defaultConfiguration in Drupal 10
Same name and namespace in other branches
- 8 core/modules/comment/src/Plugin/Action/UnpublishByKeywordComment.php \Drupal\comment\Plugin\Action\UnpublishByKeywordComment::defaultConfiguration()
- 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\ActionCode
public function defaultConfiguration() {
return [
'keywords' => [],
];
}