function FilterPluginCollection::sort

Same name in other branches
  1. 9 core/modules/filter/src/FilterPluginCollection.php \Drupal\filter\FilterPluginCollection::sort()
  2. 8.9.x core/modules/filter/src/FilterPluginCollection.php \Drupal\filter\FilterPluginCollection::sort()
  3. 11.x core/modules/filter/src/FilterPluginCollection.php \Drupal\filter\FilterPluginCollection::sort()

Overrides DefaultLazyPluginCollection::sort

File

core/modules/filter/src/FilterPluginCollection.php, line 82

Class

FilterPluginCollection
A collection of filters.

Namespace

Drupal\filter

Code

public function sort() {
    $this->getAll();
    return parent::sort();
}

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