public function SocialGroupMembersExportOverrides::loadOverrides in Open Social 8.9
Same name and namespace in other branches
- 8.5 modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php \Drupal\social_group_members_export\SocialGroupMembersExportOverrides::loadOverrides()
- 8.6 modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php \Drupal\social_group_members_export\SocialGroupMembersExportOverrides::loadOverrides()
- 8.7 modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php \Drupal\social_group_members_export\SocialGroupMembersExportOverrides::loadOverrides()
- 8.8 modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php \Drupal\social_group_members_export\SocialGroupMembersExportOverrides::loadOverrides()
- 10.3.x modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php \Drupal\social_group_members_export\SocialGroupMembersExportOverrides::loadOverrides()
- 10.0.x modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php \Drupal\social_group_members_export\SocialGroupMembersExportOverrides::loadOverrides()
- 10.1.x modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php \Drupal\social_group_members_export\SocialGroupMembersExportOverrides::loadOverrides()
- 10.2.x modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php \Drupal\social_group_members_export\SocialGroupMembersExportOverrides::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_group/ modules/ social_group_members_export/ src/ SocialGroupMembersExportOverrides.php, line 17
Class
- SocialGroupMembersExportOverrides
- Configuration override.
Namespace
Drupal\social_group_members_exportCode
public function loadOverrides($names) {
$overrides = [];
$config_name = 'views.view.group_manage_members';
if (in_array($config_name, $names)) {
$overrides[$config_name] = [
'display' => [
'default' => [
'display_options' => [
'fields' => [
'social_views_bulk_operations_bulk_form_group' => [
'selected_actions' => [
'social_group_members_export_member_action' => 'social_group_members_export_member_action',
],
'preconfiguration' => [
'social_group_members_export_member_action' => [
'label_override' => 'Export',
],
],
],
],
],
],
],
];
}
return $overrides;
}