public function DefaultLazyPluginCollection::sort in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php \Drupal\Core\Plugin\DefaultLazyPluginCollection::sort()
Sorts all plugin instances in this collection.
Return value
$this
1 call to DefaultLazyPluginCollection::sort()
- FilterPluginCollection::sort in core/
modules/ filter/ src/ FilterPluginCollection.php - Sorts all plugin instances in this collection.
1 method overrides DefaultLazyPluginCollection::sort()
- FilterPluginCollection::sort in core/
modules/ filter/ src/ FilterPluginCollection.php - Sorts all plugin instances in this collection.
File
- core/
lib/ Drupal/ Core/ Plugin/ DefaultLazyPluginCollection.php, line 94 - Contains \Drupal\Core\Plugin\DefaultLazyPluginCollection.
Class
- DefaultLazyPluginCollection
- Provides a default plugin collection for a plugin type.
Namespace
Drupal\Core\PluginCode
public function sort() {
uasort($this->instanceIDs, array(
$this,
'sortHelper',
));
return $this;
}