function WizardPluginBase::getAvailableSorts
Same name in other branches
- 9 core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php \Drupal\views\Plugin\views\wizard\WizardPluginBase::getAvailableSorts()
- 8.9.x core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php \Drupal\views\Plugin\views\wizard\WizardPluginBase::getAvailableSorts()
- 10 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 211
Class
- WizardPluginBase
- Base class for Views wizard plugins.
Namespace
Drupal\views\Plugin\views\wizardCode
public function getAvailableSorts() {
return $this->availableSorts;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.