You are here

public function SectionId::query in Workbench Access 8

Called to add the field to a query.

Overrides FieldPluginBase::query

File

src/Plugin/views/field/SectionId.php, line 57

Class

SectionId
Field handler to present the section assigned to the node.

Namespace

Drupal\workbench_access\Plugin\views\field

Code

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