public function RowPluginBase::init

Initialize the row plugin.

1 call to RowPluginBase::init()
EntityRow::init in drupal/core/modules/system/lib/Drupal/system/Plugin/views/row/EntityRow.php
Overrides Drupal\views\Plugin\views\row\RowPluginBase::init().
1 method overrides RowPluginBase::init()
EntityRow::init in drupal/core/modules/system/lib/Drupal/system/Plugin/views/row/EntityRow.php
Overrides Drupal\views\Plugin\views\row\RowPluginBase::init().

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/row/RowPluginBase.php, line 43
Definition of Drupal\views\Plugin\views\row\RowPluginBase.

Class

RowPluginBase
Default plugin to view a single row of a table. This is really just a wrapper around a theme function.

Namespace

Drupal\views\Plugin\views\row

Code

public function init(ViewExecutable $view, &$display, $options = NULL) {
  $this
    ->setOptionDefaults($this->options, $this
    ->defineOptions());
  $this->view =& $view;
  $this->displayHandler =& $display;

  // Overlay incoming options on top of defaults
  $this
    ->unpackOptions($this->options, $options);
}