public function Link::init

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

Overrides FieldPluginBase::init

File

drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/Link.php, line 29
Definition of Drupal\user\Plugin\views\field\Link.

Class

Link
Field handler to present a link to the user.

Namespace

Drupal\user\Plugin\views\field

Code

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