public function Link::init in Views (for Drupal 7) 8.3
Overrides Drupal\views\Plugin\views\field\FieldPluginBase::init().
Overrides FieldPluginBase::init
File
- lib/
Views/ user/ Plugin/ views/ field/ Link.php, line 29 - Definition of Views\user\Plugin\views\field\Link.
Class
- Link
- Field handler to present a link to the user.
Namespace
Views\user\Plugin\views\fieldCode
public function init(ViewExecutable $view, &$options) {
parent::init($view, $options);
$this->additional_fields['uid'] = 'uid';
}