You are here

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

Same name in this branch
  1. 8.3 lib/Views/node/Plugin/views/field/Link.php \Views\node\Plugin\views\field\Link::query()
  2. 8.3 lib/Views/user/Plugin/views/field/Link.php \Views\user\Plugin\views\field\Link::query()
  3. 8.3 lib/Views/comment/Plugin/views/field/Link.php \Views\comment\Plugin\views\field\Link::query()

Called to add the field to a query.

Overrides FieldPluginBase::query

File

lib/Views/user/Plugin/views/field/Link.php, line 55
Definition of Views\user\Plugin\views\field\Link.

Class

Link
Field handler to present a link to the user.

Namespace

Views\user\Plugin\views\field

Code

public function query() {
  $this
    ->ensureMyTable();
  $this
    ->add_additional_fields();
}