class SocialEventEnrolmentsExportOverrides in Open Social 10.3.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_event/modules/social_event_enrolments_export/src/SocialEventEnrolmentsExportOverrides.php \Drupal\social_event_enrolments_export\SocialEventEnrolmentsExportOverrides
- 8.5 modules/social_features/social_event/modules/social_event_enrolments_export/src/SocialEventEnrolmentsExportOverrides.php \Drupal\social_event_enrolments_export\SocialEventEnrolmentsExportOverrides
- 8.6 modules/social_features/social_event/modules/social_event_enrolments_export/src/SocialEventEnrolmentsExportOverrides.php \Drupal\social_event_enrolments_export\SocialEventEnrolmentsExportOverrides
- 8.7 modules/social_features/social_event/modules/social_event_enrolments_export/src/SocialEventEnrolmentsExportOverrides.php \Drupal\social_event_enrolments_export\SocialEventEnrolmentsExportOverrides
- 8.8 modules/social_features/social_event/modules/social_event_enrolments_export/src/SocialEventEnrolmentsExportOverrides.php \Drupal\social_event_enrolments_export\SocialEventEnrolmentsExportOverrides
- 10.0.x modules/social_features/social_event/modules/social_event_enrolments_export/src/SocialEventEnrolmentsExportOverrides.php \Drupal\social_event_enrolments_export\SocialEventEnrolmentsExportOverrides
- 10.1.x modules/social_features/social_event/modules/social_event_enrolments_export/src/SocialEventEnrolmentsExportOverrides.php \Drupal\social_event_enrolments_export\SocialEventEnrolmentsExportOverrides
- 10.2.x modules/social_features/social_event/modules/social_event_enrolments_export/src/SocialEventEnrolmentsExportOverrides.php \Drupal\social_event_enrolments_export\SocialEventEnrolmentsExportOverrides
Configuration override.
Hierarchy
- class \Drupal\social_event_enrolments_export\SocialEventEnrolmentsExportOverrides implements ConfigFactoryOverrideInterface
Expanded class hierarchy of SocialEventEnrolmentsExportOverrides
2 string references to 'SocialEventEnrolmentsExportOverrides'
- SocialEventEnrolmentsExportOverrides::getCacheSuffix in modules/
social_features/ social_event/ modules/ social_event_enrolments_export/ src/ SocialEventEnrolmentsExportOverrides.php - The string to append to the configuration static cache name.
- social_event_enrolments_export.services.yml in modules/
social_features/ social_event/ modules/ social_event_enrolments_export/ social_event_enrolments_export.services.yml - modules/social_features/social_event/modules/social_event_enrolments_export/social_event_enrolments_export.services.yml
1 service uses SocialEventEnrolmentsExportOverrides
- social_event_enrolments_export.overrider in modules/
social_features/ social_event/ modules/ social_event_enrolments_export/ social_event_enrolments_export.services.yml - \Drupal\social_event_enrolments_export\SocialEventEnrolmentsExportOverrides
File
- modules/
social_features/ social_event/ modules/ social_event_enrolments_export/ src/ SocialEventEnrolmentsExportOverrides.php, line 12
Namespace
Drupal\social_event_enrolments_exportView source
class SocialEventEnrolmentsExportOverrides implements ConfigFactoryOverrideInterface {
/**
* {@inheritdoc}
*/
public function loadOverrides($names) {
$overrides = [];
$config_name = 'views.view.event_manage_enrollments';
if (in_array($config_name, $names)) {
$overrides[$config_name] = [
'display' => [
'default' => [
'display_options' => [
'fields' => [
'social_views_bulk_operations_bulk_form_enrollments_1' => [
'selected_actions' => [
'social_event_enrolments_export_enrollments_action' => 'social_event_enrolments_export_enrollments_action',
],
'preconfiguration' => [
'social_event_enrolments_export_enrollments_action' => [
'label_override' => 'Export',
],
],
],
],
],
],
],
];
}
return $overrides;
}
/**
* {@inheritdoc}
*/
public function getCacheSuffix() {
return 'SocialEventEnrolmentsExportOverrides';
}
/**
* {@inheritdoc}
*/
public function getCacheableMetadata($name) {
return new CacheableMetadata();
}
/**
* {@inheritdoc}
*/
public function createConfigObject($name, $collection = StorageInterface::DEFAULT_COLLECTION) {
return NULL;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SocialEventEnrolmentsExportOverrides:: |
public | function |
Creates a configuration object for use during install and synchronization. Overrides ConfigFactoryOverrideInterface:: |
|
SocialEventEnrolmentsExportOverrides:: |
public | function |
Gets the cacheability metadata associated with the config factory override. Overrides ConfigFactoryOverrideInterface:: |
|
SocialEventEnrolmentsExportOverrides:: |
public | function |
The string to append to the configuration static cache name. Overrides ConfigFactoryOverrideInterface:: |
|
SocialEventEnrolmentsExportOverrides:: |
public | function |
Returns config overrides. Overrides ConfigFactoryOverrideInterface:: |