You are here

public function SocialUserExportOverrides::loadOverrides in Open Social 10.1.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
  2. 8 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
  3. 8.2 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
  4. 8.3 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
  5. 8.4 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
  6. 8.5 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
  7. 8.6 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
  8. 8.7 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
  9. 8.8 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
  10. 10.3.x modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
  11. 10.0.x modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
  12. 10.2.x modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()

Returns config overrides.

Parameters

array $names: A list of configuration names that are being loaded.

Return value

array An array keyed by configuration name of override data. Override data contains a nested array structure of overrides.

Overrides ConfigFactoryOverrideInterface::loadOverrides

File

modules/social_features/social_user_export/src/SocialUserExportOverrides.php, line 17

Class

SocialUserExportOverrides
Configuration override.

Namespace

Drupal\social_user_export

Code

public function loadOverrides($names) {
  $overrides = [];
  $config_name = 'views.view.user_admin_people';
  if (in_array($config_name, $names)) {
    $overrides[$config_name] = [
      'display' => [
        'default' => [
          'display_options' => [
            'fields' => [
              'views_bulk_operations_bulk_form' => [
                'selected_actions' => [
                  'social_user_export_user_action' => 'social_user_export_user_action',
                ],
                'preconfiguration' => [
                  'social_user_export_user_action' => [
                    'label_override' => '',
                  ],
                ],
              ],
            ],
          ],
        ],
      ],
    ];
  }
  return $overrides;
}