You are here

protected function UserExportPluginManager::findDefinitions in Open Social 8.3

Same name and namespace in other branches
  1. 8.4 modules/social_features/social_user_export/src/Plugin/UserExportPluginManager.php \Drupal\social_user_export\Plugin\UserExportPluginManager::findDefinitions()
  2. 8.5 modules/social_features/social_user_export/src/Plugin/UserExportPluginManager.php \Drupal\social_user_export\Plugin\UserExportPluginManager::findDefinitions()
  3. 8.6 modules/social_features/social_user_export/src/Plugin/UserExportPluginManager.php \Drupal\social_user_export\Plugin\UserExportPluginManager::findDefinitions()
  4. 8.7 modules/social_features/social_user_export/src/Plugin/UserExportPluginManager.php \Drupal\social_user_export\Plugin\UserExportPluginManager::findDefinitions()

Finds plugin definitions.

Return value

array List of definitions to store in cache.

Overrides DefaultPluginManager::findDefinitions

File

modules/social_features/social_user_export/src/Plugin/UserExportPluginManager.php, line 38

Class

UserExportPluginManager
Provides the User export plugin plugin manager.

Namespace

Drupal\social_user_export\Plugin

Code

protected function findDefinitions() {
  $definitions = parent::findDefinitions();
  usort($definitions, [
    $this,
    'sortDefinitions',
  ]);
  return $definitions;
}