You are here

public function Label::query in Profile 2 8

Called to add the field to a query.

Overrides FieldPluginBase::query

File

src/Plugin/views/field/Label.php, line 31
Definition of Drupal\profile\Plugin\views\field\Label.

Class

Label
Field handler to show the generated label of a profile.

Namespace

Drupal\profile\Plugin\views\field

Code

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