function protected function SettingManager::sortDefinitions

8.x-3.x SettingManager.php protected SettingManager::sortDefinitions(array &$definitions)

Sorts the plugin definitions.

Parameters

array $definitions: The unsorted plugin definitions, passed by reference.

Overrides PluginManager::sortDefinitions

Class

SettingManager
Manages discovery and instantiation of Bootstrap theme settings.

Namespace

Drupal\bootstrap\Plugin

Source src/Plugin/SettingManager.php (line 42)

protected function sortDefinitions(array &$definitions) {
  uasort($definitions, [$this, 'sort']);
}