function ViewsWizard::__construct

Same name in other branches
  1. 11.x core/modules/views/src/Attribute/ViewsWizard.php \Drupal\views\Attribute\ViewsWizard::__construct()

Constructs an ViewsWizard attribute.

Parameters

string $id: The plugin ID.

\Drupal\Core\StringTranslation\TranslatableMarkup $title: The plugin title used in the views UI.

string|null $base_table: (optional) The base table on which this wizard is used. The base_table is required when a deriver class is not defined.

class-string|null $deriver: (optional) The deriver class.

Overrides Plugin::__construct

File

core/modules/views/src/Attribute/ViewsWizard.php, line 32

Class

ViewsWizard
Defines a Plugin attribute object for views wizard plugins.

Namespace

Drupal\views\Attribute

Code

public function __construct(string $id, TranslatableMarkup $title, ?string $base_table = NULL, ?string $deriver = NULL) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.