You are here

public function TitleLink::init in Views (for Drupal 7) 8.3

Overrides Drupal\views\Plugin\views\field\FieldPluginBase::init().

Overrides FieldPluginBase::init

File

lib/Views/aggregator/Plugin/views/field/TitleLink.php, line 30
Definition of Views\aggregator\Plugin\views\field\TitleLink.

Class

TitleLink
Field handler that turns an item's title into a clickable link to the original source article.

Namespace

Views\aggregator\Plugin\views\field

Code

public function init(ViewExecutable $view, &$options) {
  parent::init($view, $options);
  $this->additional_fields['link'] = 'link';
}