ViewsField

Defines a Plugin annotation object for views field handlers. Hierarchy class \Drupal\Component\Annotation\AnnotationBase implements AnnotationInterfaceclass \Drupal\Component\Annotation\PluginIDclass \Drupal\views\Annotation\ViewsHandlerAnnotationBaseclass \Drupal\views\Annotation\ViewsField See also \Drupal\views\Plugin\views\field\FieldPluginBase Related topics Annotations Annotations for class discovery and metadata description. Views field handler plugins Handler plugins for Views fi

ViewsFilter

Defines a Plugin annotation object for views filter handlers. Hierarchy class \Drupal\Component\Annotation\AnnotationBase implements AnnotationInterfaceclass \Drupal\Component\Annotation\PluginIDclass \Drupal\views\Annotation\ViewsHandlerAnnotationBaseclass \Drupal\views\Annotation\ViewsFilter See also \Drupal\views\Plugin\views\filter\FilterPluginBase Related topics Annotations Annotations for class discovery and metadata description. Views filter handler plugins Plugins that handle vie

ViewsExposedForm::validateForm

public ViewsExposedForm::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/views/src/Form/ViewsExposedForm.php, line 131 Class ViewsExposedForm Provides the views exposed form. Namespace Drupal\views\Form Code public function validateFo

ViewsExposedForm::submitForm

public ViewsExposedForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/views/src/Form/ViewsExposedForm.php, line 149 Class ViewsExposedForm Provides the views exposed form. Namespace Drupal\views\Form Code public function submitFor

ViewsExposedForm::__construct

public ViewsExposedForm::__construct(ExposedFormCache $exposed_form_cache) Constructs a new ViewsExposedForm Parameters \Drupal\views\ExposedFormCache $exposed_form_cache: The exposed form cache. File core/modules/views/src/Form/ViewsExposedForm.php, line 31 Class ViewsExposedForm Provides the views exposed form. Namespace Drupal\views\Form Code public function __construct(ExposedFormCache $exposed_form_cache) { $this->exposedFormCache = $exposed_form_cache; }

ViewsExposedForm::create

public static ViewsExposedForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service

ViewsExposedForm::getFormId

public ViewsExposedForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/views/src/Form/ViewsExposedForm.php, line 45 Class ViewsExposedForm Provides the views exposed form. Namespace Drupal\views\Form Code public function getFormId() { return 'views_exposed_form'; }

ViewsExposedForm::$title

The plugin title used in the views UI. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/views/src/Annotation/ViewsExposedForm.php, line 31 Class ViewsExposedForm Defines a Plugin annotation object for views exposed form plugins. Namespace Drupal\views\Annotation Code public $title = '';

ViewsExposedForm::buildForm

public ViewsExposedForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/modules/views/src/Form/ViewsExposedForm.php, line 52 Class ViewsExposedForm Provides the views exposed form. Namespace Drupal\views\Form Code

ViewsExposedForm::$id

The plugin ID. Type: string File core/modules/views/src/Annotation/ViewsExposedForm.php, line 22 Class ViewsExposedForm Defines a Plugin annotation object for views exposed form plugins. Namespace Drupal\views\Annotation Code public $id;