public function LinkEdit::init in Views (for Drupal 7) 8.3
Same name in this branch
- 8.3 lib/Views/locale/Plugin/views/field/LinkEdit.php \Views\locale\Plugin\views\field\LinkEdit::init()
- 8.3 lib/Views/taxonomy/Plugin/views/field/LinkEdit.php \Views\taxonomy\Plugin\views\field\LinkEdit::init()
Overrides Drupal\views\Plugin\views\field\FieldPluginBase::init().
Overrides FieldPluginBase::init
File
- lib/
Views/ taxonomy/ Plugin/ views/ field/ LinkEdit.php, line 29 - Definition of Views\taxonomy\Plugin\views\field\LinkEdit.
Class
- LinkEdit
- Field handler to present a term edit link.
Namespace
Views\taxonomy\Plugin\views\fieldCode
public function init(ViewExecutable $view, &$options) {
parent::init($view, $options);
$this->additional_fields['tid'] = 'tid';
$this->additional_fields['vid'] = 'vid';
$this->additional_fields['vocabulary_machine_name'] = array(
'table' => 'taxonomy_vocabulary',
'field' => 'machine_name',
);
}