summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/comment
diff options
context:
space:
mode:
authornod_ <nod_@598310.no-reply.drupal.org>2025-01-31 10:22:49 +0100
committernod_ <nod_@598310.no-reply.drupal.org>2025-01-31 10:22:49 +0100
commit4c38737597b7418603d2ab995249b71e9e913bae (patch)
tree1de9d3bfa93607a7d4e8bb6686460f1d047130d5 /core/modules/comment
parentb450cb38f28396c0ce849612f5e83d30bd313d7d (diff)
downloaddrupal-4c38737597b7418603d2ab995249b71e9e913bae.tar.gz
drupal-4c38737597b7418603d2ab995249b71e9e913bae.zip
Issue #3491513 by quietone, smustgrave: Fix Drupal.Commenting.FunctionComment.Missing in views argument plugins
Diffstat (limited to 'core/modules/comment')
-rw-r--r--core/modules/comment/src/Plugin/views/argument/UserUid.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/modules/comment/src/Plugin/views/argument/UserUid.php b/core/modules/comment/src/Plugin/views/argument/UserUid.php
index 792b63cbe5d..22230385a2f 100644
--- a/core/modules/comment/src/Plugin/views/argument/UserUid.php
+++ b/core/modules/comment/src/Plugin/views/argument/UserUid.php
@@ -51,6 +51,9 @@ class UserUid extends ArgumentPluginBase {
return new static($configuration, $plugin_id, $plugin_definition, $container->get('database'));
}
+ /**
+ * {@inheritdoc}
+ */
public function title() {
if (!$this->argument) {
$title = \Drupal::config('user.settings')->get('anonymous');
@@ -65,6 +68,9 @@ class UserUid extends ArgumentPluginBase {
return $title;
}
+ /**
+ * {@inheritdoc}
+ */
protected function defaultActions($which = NULL) {
// Disallow summary views on this argument.
if (!$which) {
@@ -79,6 +85,9 @@ class UserUid extends ArgumentPluginBase {
}
}
+ /**
+ * {@inheritdoc}
+ */
public function query($group_by = FALSE) {
$this->ensureMyTable();