You are here

public function QueryPluginBase::init in Views (for Drupal 7) 8.3

Constructor; Create the basic query object and fill with default values.

1 call to QueryPluginBase::init()
Sql::init in lib/Drupal/views/Plugin/views/query/Sql.php
Constructor; Create the basic query object and fill with default values.
1 method overrides QueryPluginBase::init()
Sql::init in lib/Drupal/views/Plugin/views/query/Sql.php
Constructor; Create the basic query object and fill with default values.

File

lib/Drupal/views/Plugin/views/query/QueryPluginBase.php, line 28
Definition of Drupal\views\Plugin\views\query\QueryPluginBase.

Class

QueryPluginBase
@todo.

Namespace

Drupal\views\Plugin\views\query

Code

public function init($base_table, $base_field, $options) {
  $this
    ->setOptionDefaults($this->options, $this
    ->defineOptions());
  $this->base_table = $base_table;
  $this->base_field = $base_field;
  $this
    ->unpackOptions($this->options, $options);
}