public function ShareEverywhereField::query in Share Everywhere 8
Same name and namespace in other branches
- 2.x 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\fieldCode
public function query() {
$this
->ensureMyTable();
$this
->addAdditionalFields();
}