You are here

public function Roles::query in Views (for Drupal 7) 8.3

Called to add the field to a query.

Overrides FieldPluginBase::query

File

lib/Views/user/Plugin/views/field/Roles.php, line 35
Definition of Views\user\Plugin\views\field\Roles.

Class

Roles
Field handler to provide a list of roles.

Namespace

Views\user\Plugin\views\field

Code

public function query() {
  $this
    ->add_additional_fields();
  $this->field_alias = $this->aliases['uid'];
}