class ViewsWizard

Same name in this branch
  1. 10 core/modules/views/src/Annotation/ViewsWizard.php \Drupal\views\Annotation\ViewsWizard
Same name in other branches
  1. 9 core/modules/views/src/Annotation/ViewsWizard.php \Drupal\views\Annotation\ViewsWizard
  2. 8.9.x core/modules/views/src/Annotation/ViewsWizard.php \Drupal\views\Annotation\ViewsWizard
  3. 11.x core/modules/views/src/Annotation/ViewsWizard.php \Drupal\views\Annotation\ViewsWizard
  4. 11.x core/modules/views/src/Attribute/ViewsWizard.php \Drupal\views\Attribute\ViewsWizard

Defines a Plugin attribute object for views wizard plugins.

Hierarchy

Expanded class hierarchy of ViewsWizard

See also

\Drupal\views\Plugin\views\wizard\WizardPluginBase

\Drupal\views\Plugin\views\wizard\WizardInterface

Related topics

11 files declare their use of ViewsWizard
BlockContent.php in core/modules/block_content/src/Plugin/views/wizard/BlockContent.php
Comment.php in core/modules/comment/src/Plugin/views/wizard/Comment.php
File.php in core/modules/file/src/Plugin/views/wizard/File.php
Media.php in core/modules/media/src/Plugin/views/wizard/Media.php
MediaRevision.php in core/modules/media/src/Plugin/views/wizard/MediaRevision.php

... See full list

File

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

Namespace

Drupal\views\Attribute
View source
class ViewsWizard extends Plugin {
    
    /**
     * Constructs an ViewsWizard attribute.
     *
     * @param string $id
     *   The plugin ID.
     * @param \Drupal\Core\StringTranslation\TranslatableMarkup $title
     *   The plugin title used in the views UI.
     * @param 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.
     * @param class-string|null $deriver
     *   (optional) The deriver class.
     */
    public function __construct(string $id, TranslatableMarkup $title, ?string $base_table = NULL, ?string $deriver = NULL) {
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
AttributeBase::$class protected property The class used for this attribute class.
AttributeBase::$provider protected property The provider of the attribute class.
AttributeBase::get public function Gets the value of an attribute. Overrides AttributeInterface::get 6
AttributeBase::getClass public function Gets the class of the attribute class. Overrides AttributeInterface::getClass 1
AttributeBase::getId public function Gets the unique ID for this attribute class. Overrides AttributeInterface::getId
AttributeBase::getProvider public function Gets the name of the provider of the attribute class. Overrides AttributeInterface::getProvider
AttributeBase::setClass public function Sets the class of the attributed class. Overrides AttributeInterface::setClass 1
AttributeBase::setProvider public function Sets the name of the provider of the attribute class. Overrides AttributeInterface::setProvider
ViewsWizard::__construct public function Constructs an ViewsWizard attribute. Overrides Plugin::__construct

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