public function RowPluginBase::init in Views (for Drupal 7) 8.3
Initialize the row plugin.
1 call to RowPluginBase::init()
- Entity::init in lib/
Views/ system/ Plugin/ views/ row/ Entity.php - Overrides Drupal\views\Plugin\views\row\RowPluginBase::init().
1 method overrides RowPluginBase::init()
- Entity::init in lib/
Views/ system/ Plugin/ views/ row/ Entity.php - Overrides Drupal\views\Plugin\views\row\RowPluginBase::init().
File
- 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\rowCode
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);
}