public function SocialUserExportOverrides::loadOverrides in Open Social 8
Same name and namespace in other branches
- 8.9 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
- 8.2 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
- 8.3 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
- 8.4 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
- 8.5 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
- 8.6 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
- 8.7 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
- 8.8 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
- 10.3.x modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
- 10.0.x modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
- 10.1.x modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::loadOverrides()
- 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_exportCode
public function loadOverrides($names) {
$overrides = [];
$config_name = 'views.view.user_admin_people';
if (in_array($config_name, $names)) {
$overrides[$config_name] = [
'dependencies' => [
'module' => [
'group',
'social_user_export',
'user',
],
],
'display' => [
'default' => [
'display_options' => [
'group_by' => TRUE,
'filters' => [
'id' => [
'id' => 'id',
'table' => 'groups_field_data',
'field' => 'id',
'relationship' => 'gid',
'admin_label' => '',
'operator' => '=',
'value' => [
'min' => '',
'max' => '',
'value' => '',
],
'group' => 1,
'exposed' => TRUE,
'expose' => [
'operator_id' => 'id_op',
'label' => 'Group',
'description' => '',
'use_operator' => FALSE,
'operator' => 'id_op',
'identifier' => 'group',
'required' => FALSE,
'remember' => FALSE,
'multiple' => FALSE,
'remember_roles' => [
'authenticated' => 'authenticated',
'anonymoous' => 0,
'administrator' => 0,
'contentmanager' => 0,
'sitemanager' => 0,
],
],
'is_grouped' => FALSE,
'group_info' => [
'label' => '',
'description' => '',
'identifier' => '',
'optional' => TRUE,
'widget' => 'select',
'multiple' => FALSE,
'remember' => FALSE,
'default_group' => 'All',
'default_group_multiple' => [],
'group_items' => [],
],
'entity_type' => 'group',
'entity_field' => 'id',
'plugin_id' => 'numeric',
],
],
'relationships' => [
'group_content' => [
'id' => 'group_content',
'table' => 'users_field_data',
'field' => 'group_content',
'relationship' => 'none',
'group_type' => 'group',
'admin_label' => 'User group content',
'required' => FALSE,
'group_content_plugins' => [
'group_membership' => 'group_membership',
],
'entity_type' => 'user',
'plugin_id' => 'group_content_to_entity_reverse',
],
'gid' => [
'id' => 'gid',
'table' => 'group_content_field_data',
'field' => 'gid',
'relationship' => 'group_content',
'group_type' => 'group',
'admin_label' => 'Group',
'required' => FALSE,
'entity_type' => 'group_content',
'entity_field' => 'gid',
'plugin_id' => 'standard',
],
],
],
],
],
];
}
return $overrides;
}