summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/comment
diff options
context:
space:
mode:
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();