You are here

public function HierarchyTreeSummary::query in Entity Reference Hierarchy 3.x

Called to add the field to a query.

Overrides FieldPluginBase::query

File

src/Plugin/views/field/HierarchyTreeSummary.php, line 101

Class

HierarchyTreeSummary
A handler to provide a field that show hierarchy depth of item.

Namespace

Drupal\entity_hierarchy\Plugin\views\field

Code

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