Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ViewsWizard.php

class ViewsWizard

Same name in this branch
  1. 11.1.x core/modules/views/src/Annotation/ViewsWizard.php \Drupal\views\Annotation\ViewsWizard

Defines a Plugin attribute object for views wizard plugins.

Hierarchy

  • class \Drupal\Component\Plugin\Attribute\AttributeBase implements \Drupal\Component\Plugin\Attribute\AttributeInterface
    • class \Drupal\Component\Plugin\Attribute\Plugin extends \Drupal\Component\Plugin\Attribute\AttributeBase
      • class \Drupal\views\Attribute\ViewsWizard extends \Drupal\Component\Plugin\Attribute\Plugin

Expanded class hierarchy of ViewsWizard

See also

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

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

Related topics

Views wizard plugins
Plugins for Views wizards.
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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal