class ViewsArgument

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

Defines a ViewsArgument attribute for plugin discovery.

Attributes

#[\Attribute(\Attribute::TARGET_CLASS)]

Hierarchy

Expanded class hierarchy of ViewsArgument

See also

\Drupal\views\Plugin\views\argument\ArgumentPluginBase

Related topics

42 files declare their use of ViewsArgument
Broken.php in core/modules/views/src/Plugin/views/argument/Broken.php
Date.php in core/modules/datetime/src/Plugin/views/argument/Date.php
Date.php in core/modules/views/src/Plugin/views/argument/Date.php
DayDate.php in core/modules/views/src/Plugin/views/argument/DayDate.php
DayDate.php in core/modules/datetime/src/Plugin/views/argument/DayDate.php

... See full list

File

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

Namespace

Drupal\views\Attribute
View source
class ViewsArgument extends Plugin {

}

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
Plugin::__construct public function Constructs a plugin attribute object. Overrides AttributeBase::__construct 48

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