public function Category::init in Views (for Drupal 7) 8.3
Overrides Drupal\views\Plugin\views\field\FieldPluginBase::init().
Overrides FieldPluginBase::init
File
- lib/
Views/ aggregator/ Plugin/ views/ field/ Category.php, line 30 - Definition of Views\aggregator\Plugin\views\field\Category.
Class
- Category
- Field handler to provide simple renderer that allows linking to aggregator category.
Namespace
Views\aggregator\Plugin\views\fieldCode
public function init(ViewExecutable $view, &$options) {
parent::init($view, $options);
$this->additional_fields['cid'] = 'cid';
}