You are here

class SocialGroupMembersExportOverrides in Open Social 10.2.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php \Drupal\social_group_members_export\SocialGroupMembersExportOverrides
  2. 8.5 modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php \Drupal\social_group_members_export\SocialGroupMembersExportOverrides
  3. 8.6 modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php \Drupal\social_group_members_export\SocialGroupMembersExportOverrides
  4. 8.7 modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php \Drupal\social_group_members_export\SocialGroupMembersExportOverrides
  5. 8.8 modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php \Drupal\social_group_members_export\SocialGroupMembersExportOverrides
  6. 10.3.x modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php \Drupal\social_group_members_export\SocialGroupMembersExportOverrides
  7. 10.0.x modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php \Drupal\social_group_members_export\SocialGroupMembersExportOverrides
  8. 10.1.x modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php \Drupal\social_group_members_export\SocialGroupMembersExportOverrides

Configuration override.

Hierarchy

Expanded class hierarchy of SocialGroupMembersExportOverrides

2 string references to 'SocialGroupMembersExportOverrides'
SocialGroupMembersExportOverrides::getCacheSuffix in modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php
The string to append to the configuration static cache name.
social_group_members_export.services.yml in modules/social_features/social_group/modules/social_group_members_export/social_group_members_export.services.yml
modules/social_features/social_group/modules/social_group_members_export/social_group_members_export.services.yml
1 service uses SocialGroupMembersExportOverrides
social_group_members_export.overrider in modules/social_features/social_group/modules/social_group_members_export/social_group_members_export.services.yml
\Drupal\social_group_members_export\SocialGroupMembersExportOverrides

File

modules/social_features/social_group/modules/social_group_members_export/src/SocialGroupMembersExportOverrides.php, line 12

Namespace

Drupal\social_group_members_export
View source
class SocialGroupMembersExportOverrides implements ConfigFactoryOverrideInterface {

  /**
   * {@inheritdoc}
   */
  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;
  }

  /**
   * {@inheritdoc}
   */
  public function getCacheSuffix() {
    return 'SocialGroupMembersExportOverrides';
  }

  /**
   * {@inheritdoc}
   */
  public function getCacheableMetadata($name) {
    return new CacheableMetadata();
  }

  /**
   * {@inheritdoc}
   */
  public function createConfigObject($name, $collection = StorageInterface::DEFAULT_COLLECTION) {
    return NULL;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
SocialGroupMembersExportOverrides::createConfigObject public function Creates a configuration object for use during install and synchronization. Overrides ConfigFactoryOverrideInterface::createConfigObject
SocialGroupMembersExportOverrides::getCacheableMetadata public function Gets the cacheability metadata associated with the config factory override. Overrides ConfigFactoryOverrideInterface::getCacheableMetadata
SocialGroupMembersExportOverrides::getCacheSuffix public function The string to append to the configuration static cache name. Overrides ConfigFactoryOverrideInterface::getCacheSuffix
SocialGroupMembersExportOverrides::loadOverrides public function Returns config overrides. Overrides ConfigFactoryOverrideInterface::loadOverrides