You are here

public function View::__construct in Views Field View 8

Constructs a View object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\Core\Config\ImmutableConfig $config: The configuration object.

Overrides HandlerBase::__construct

File

src/Plugin/views/field/View.php, line 39

Class

View
Plugin annotation @ViewsField("view");

Namespace

Drupal\views_field_view\Plugin\views\field

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, ImmutableConfig $config) {
  $this->config = $config;
  parent::__construct($configuration, $plugin_id, $plugin_definition);
}