function FilterPluginCollection::sort

Sorts all plugin instances in this collection.

Return value

$this

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.