You are here

public function Path::init in Support Ticketing System 8

Initialize the plugin.

Parameters

\Drupal\views\ViewExecutable $view: The view object.

\Drupal\views\Plugin\views\display\DisplayPluginBase $display: The display handler.

array $options: The options configured for this plugin.

Overrides FieldPluginBase::init

File

modules/support_ticket/src/Plugin/views/field/Path.php, line 28
Contains \Drupal\support_ticket\Plugin\views\field\Path.

Class

Path
Field handler to present the path to the support ticket.

Namespace

Drupal\support_ticket\Plugin\views\field

Code

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