You are here

public function Link::query in Simplenews 3.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/field/Link.php \Drupal\simplenews\Plugin\views\field\Link::query()
  2. 8 src/Plugin/views/field/Link.php \Drupal\simplenews\Plugin\views\field\Link::query()

Called to add the field to a query.

Overrides FieldPluginBase::query

File

src/Plugin/views/field/Link.php, line 53

Class

Link
Field handler to present a link to the subscriber.

Namespace

Drupal\simplenews\Plugin\views\field

Code

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