diff options
author | nod_ <nod_@598310.no-reply.drupal.org> | 2025-01-31 10:22:49 +0100 |
---|---|---|
committer | nod_ <nod_@598310.no-reply.drupal.org> | 2025-01-31 10:22:49 +0100 |
commit | 4c38737597b7418603d2ab995249b71e9e913bae (patch) | |
tree | 1de9d3bfa93607a7d4e8bb6686460f1d047130d5 /core/modules/comment | |
parent | b450cb38f28396c0ce849612f5e83d30bd313d7d (diff) | |
download | drupal-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.php | 9 |
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(); |