public function AdministrationLanguageNegotiationConditionManager::getDefinitions in Administration Language Negotiation 8
Gets the definition of all plugins for this type.
Return value
mixed[] An array of plugin definitions (empty array if no definitions were found). Keys are plugin IDs.
Overrides DefaultPluginManager::getDefinitions
See also
\Drupal\Core\Plugin\FilteredPluginManagerInterface::getFilteredDefinitions()
File
Class
- AdministrationLanguageNegotiationConditionManager
- Manages administration language negotiation condition plugins.
Namespace
Drupal\administration_language_negotiationCode
public function getDefinitions() {
$definitions = parent::getDefinitions();
uasort($definitions, 'Drupal\\Component\\Utility\\SortArray::sortByWeightElement');
return $definitions;
}