UserUid.php in Zircon Profile 8
File
core/modules/tracker/src/Plugin/views/argument/UserUid.php
View source
<?php
namespace Drupal\tracker\Plugin\views\argument;
use Drupal\comment\Plugin\views\argument\UserUid as CommentUserUid;
class UserUid extends CommentUserUid {
public function query($group_by = FALSE) {
$tracker_user_alias = $this->query
->ensureTable('tracker_user');
$this->query
->addWhere(0, "{$tracker_user_alias}.uid", $this->argument);
}
}
Classes
Name |
Description |
UserUid |
UID argument to check for nodes that user posted or commented on. |