You are here

public function ShareEverywhereField::query in Share Everywhere 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/views/field/ShareEverywhereField.php \Drupal\share_everywhere\Plugin\views\field\ShareEverywhereField::query()

Called to add the field to a query.

Overrides FieldPluginBase::query

File

src/Plugin/views/field/ShareEverywhereField.php, line 58

Class

ShareEverywhereField
Field handler to display Share Everywhere buttons.

Namespace

Drupal\share_everywhere\Plugin\views\field

Code

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