Skip to content
Snippets Groups Projects
Commit 7b308b3d authored by Robert Ragas's avatar Robert Ragas
Browse files

Issue #3453634: Also add the override to the default view in case that the...

Issue #3453634: Also add the override to the default view in case that the config is not overridden per view
parent 9f3d8f7e
No related branches found
No related tags found
No related merge requests found
......@@ -110,6 +110,60 @@ class SocialCourseOverrides implements ConfigFactoryOverrideInterface {
if (in_array($config_name, $names)) {
$overrides[$config_name] = [
'display' => [
'default' => [
'display_options' => [
'filters' => [
'type' => [
'id' => 'type',
'table' => 'groups_field_data',
'field' => 'type',
'relationship' => 'none',
'group_type' => 'group',
'admin_label' => '',
'entity_type' => 'group',
'entity_field' => 'type',
'plugin_id' => 'bundle',
'operator' => 'not in',
'value' => [
'course_advanced' => 'course_advanced',
'course_basic' => 'course_basic',
],
'group' => 1,
'exposed' => FALSE,
'expose' => [
'operator_id' => '',
'label' => '',
'description' => '',
'use_operator' => FALSE,
'operator' => '',
'operator_limit_selection' => FALSE,
'operator_list' => [],
'identifier' => '',
'required' => FALSE,
'remember' => FALSE,
'multiple' => FALSE,
'remember_roles' => [
'authenticated' => 'authenticated',
],
'reduce' => FALSE,
],
'is_grouped' => FALSE,
'group_info' => [
'label' => '',
'description' => '',
'identifier' => '',
'optional' => TRUE,
'widget' => 'select',
'multiple' => FALSE,
'remember' => FALSE,
'default_group' => 'All',
'default_group_multiple' => [],
'group_items' => [],
],
],
],
],
],
'page_user_groups' => [
'display_options' => [
'filters' => [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment