protected function EntityHandlerPluginManager::findDefinitions in CMS Content Sync 2.1.x
Same name and namespace in other branches
- 8 src/Plugin/Type/EntityHandlerPluginManager.php \Drupal\cms_content_sync\Plugin\Type\EntityHandlerPluginManager::findDefinitions()
- 2.0.x src/Plugin/Type/EntityHandlerPluginManager.php \Drupal\cms_content_sync\Plugin\Type\EntityHandlerPluginManager::findDefinitions()
Finds plugin definitions.
Return value
array List of definitions to store in cache.
Overrides DefaultPluginManager::findDefinitions
File
- src/
Plugin/ Type/ EntityHandlerPluginManager.php, line 293
Class
- EntityHandlerPluginManager
- Manages discovery and instantiation of entity handler plugins.
Namespace
Drupal\cms_content_sync\Plugin\TypeCode
protected function findDefinitions() {
$definitions = parent::findDefinitions();
uasort($definitions, function ($a, $b) {
return $a['weight'] <=> $b['weight'];
});
return $definitions;
}