function VariantPluginCollection::sort
Same name in other branches
- 4.0.x src/Plugin/VariantPluginCollection.php \Drupal\ctools\Plugin\VariantPluginCollection::sort()
Overrides DefaultLazyPluginCollection::sort
File
-
src/
Plugin/ VariantPluginCollection.php, line 24
Class
- VariantPluginCollection
- Provides a collection of variants plugins.
Namespace
Drupal\ctools\PluginCode
public function sort() {
// @todo Determine the reason this needs error suppression.
@uasort($this->instanceIds, [
$this,
'sortHelper',
]);
return $this;
}