You are here

public function WizardPluginBase::getAvailableSorts in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php \Drupal\views\Plugin\views\wizard\WizardPluginBase::getAvailableSorts()
  2. 9 core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php \Drupal\views\Plugin\views\wizard\WizardPluginBase::getAvailableSorts()

Gets the availableSorts property.

Return value

array

1 call to WizardPluginBase::getAvailableSorts()
WizardPluginBase::buildSorts in core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php
Builds the form structure for selecting the view's sort order.
2 methods override WizardPluginBase::getAvailableSorts()
Media::getAvailableSorts in core/modules/media/src/Plugin/views/wizard/Media.php
Gets the availableSorts property.
Node::getAvailableSorts in core/modules/node/src/Plugin/views/wizard/Node.php
Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::getAvailableSorts().

File

core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php, line 208

Class

WizardPluginBase
Base class for Views wizard plugins.

Namespace

Drupal\views\Plugin\views\wizard

Code

public function getAvailableSorts() {
  return $this->availableSorts;
}