You are here

public function GathercontentContentLink::init in GatherContent 8.5

Same name and namespace in other branches
  1. 8.4 gathercontent_ui/src/Plugin/views/field/GathercontentContentLink.php \Drupal\gathercontent_ui\Plugin\views\field\GathercontentContentLink::init()

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 Path::init

File

gathercontent_ui/src/Plugin/views/field/GathercontentContentLink.php, line 24

Class

GathercontentContentLink
A handler to provide a field that is completely custom by the administrator.

Namespace

Drupal\gathercontent_ui\Plugin\views\field

Code

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