You are here

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

Same name in this branch
  1. 8.3 lib/Views/locale/Plugin/views/field/LinkEdit.php \Views\locale\Plugin\views\field\LinkEdit::init()
  2. 8.3 lib/Views/taxonomy/Plugin/views/field/LinkEdit.php \Views\taxonomy\Plugin\views\field\LinkEdit::init()

Overrides Drupal\views\Plugin\views\HandlerBase::init().

Overrides FieldPluginBase::init

File

lib/Views/locale/Plugin/views/field/LinkEdit.php, line 29
Definition of Views\locale\Plugin\views\field\LinkEdit.

Class

LinkEdit
Field handler to present a link to edit a translation.

Namespace

Views\locale\Plugin\views\field

Code

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