Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / comment / src / Plugin / views / field / CommentBulkForm.php
diff --git a/web/core/modules/comment/src/Plugin/views/field/CommentBulkForm.php b/web/core/modules/comment/src/Plugin/views/field/CommentBulkForm.php
new file mode 100644 (file)
index 0000000..d428373
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+
+namespace Drupal\comment\Plugin\views\field;
+
+use Drupal\system\Plugin\views\field\BulkForm;
+
+/**
+ * Defines a comment operations bulk form element.
+ *
+ * @ViewsField("comment_bulk_form")
+ */
+class CommentBulkForm extends BulkForm {
+
+  /**
+   * {@inheritdoc}
+   */
+  protected function emptySelectedMessage() {
+    return $this->t('Select one or more comments to perform the update on.');
+  }
+
+}