function VariantPluginCollection::sort

Same name in other branches
  1. 8.x-3.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\Plugin

Code

public function sort() {
    // @todo Determine the reason this needs error suppression.
    @uasort($this->instanceIds, [
        $this,
        'sortHelper',
    ]);
    return $this;
}