public function Picture::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/ Picture.php, line 29 - Definition of Views\user\Plugin\views\field\Picture.
Class
- Picture
- Field handler to provide simple renderer that allows using a themed user link.
Namespace
Views\user\Plugin\views\fieldCode
public function init(ViewExecutable $view, &$options) {
parent::init($view, $options);
$this->additional_fields['uid'] = 'uid';
$this->additional_fields['name'] = 'name';
$this->additional_fields['mail'] = 'mail';
}