class ViewsFilter

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

Defines a Plugin attribute class for views filter handlers.

Attributes

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

Hierarchy

Expanded class hierarchy of ViewsFilter

See also

\Drupal\views\Plugin\views\filter\FilterPluginBase

Related topics

41 files declare their use of ViewsFilter
Access.php in core/modules/node/src/Plugin/views/filter/Access.php
BooleanOperator.php in core/modules/views/src/Plugin/views/filter/BooleanOperator.php
BooleanOperatorString.php in core/modules/views/src/Plugin/views/filter/BooleanOperatorString.php
Broken.php in core/modules/views/src/Plugin/views/filter/Broken.php
Bundle.php in core/modules/views/src/Plugin/views/filter/Bundle.php

... See full list

File

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

Namespace

Drupal\views\Attribute
View source
class ViewsFilter extends PluginID {

}

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::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 1
AttributeBase::__construct public function 2
PluginID::get public function Gets the value of an attribute. Overrides AttributeBase::get

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