SocialUserExportOverrides.php in Open Social 8.8
Same filename and directory in other branches
- 8.9 modules/social_features/social_user_export/src/SocialUserExportOverrides.php
- 8 modules/social_features/social_user_export/src/SocialUserExportOverrides.php
- 8.2 modules/social_features/social_user_export/src/SocialUserExportOverrides.php
- 8.3 modules/social_features/social_user_export/src/SocialUserExportOverrides.php
- 8.4 modules/social_features/social_user_export/src/SocialUserExportOverrides.php
- 8.5 modules/social_features/social_user_export/src/SocialUserExportOverrides.php
- 8.6 modules/social_features/social_user_export/src/SocialUserExportOverrides.php
- 8.7 modules/social_features/social_user_export/src/SocialUserExportOverrides.php
- 10.3.x modules/social_features/social_user_export/src/SocialUserExportOverrides.php
- 10.0.x modules/social_features/social_user_export/src/SocialUserExportOverrides.php
- 10.1.x modules/social_features/social_user_export/src/SocialUserExportOverrides.php
- 10.2.x modules/social_features/social_user_export/src/SocialUserExportOverrides.php
Namespace
Drupal\social_user_exportFile
modules/social_features/social_user_export/src/SocialUserExportOverrides.phpView source
<?php
namespace Drupal\social_user_export;
use Drupal\Core\Cache\CacheableMetadata;
use Drupal\Core\Config\ConfigFactoryOverrideInterface;
use Drupal\Core\Config\StorageInterface;
/**
* Configuration override.
*/
class SocialUserExportOverrides implements ConfigFactoryOverrideInterface {
/**
* {@inheritdoc}
*/
public function loadOverrides($names) {
$overrides = [];
$config_name = 'views.view.user_admin_people';
if (in_array($config_name, $names)) {
$overrides[$config_name] = [
'display' => [
'default' => [
'display_options' => [
'fields' => [
'views_bulk_operations_bulk_form' => [
'selected_actions' => [
'social_user_export_user_action' => 'social_user_export_user_action',
],
'preconfiguration' => [
'social_user_export_user_action' => [
'label_override' => '',
],
],
],
],
],
],
],
];
}
return $overrides;
}
/**
* {@inheritdoc}
*/
public function getCacheSuffix() {
return 'SocialUserExportOverrides';
}
/**
* {@inheritdoc}
*/
public function getCacheableMetadata($name) {
return new CacheableMetadata();
}
/**
* {@inheritdoc}
*/
public function createConfigObject($name, $collection = StorageInterface::DEFAULT_COLLECTION) {
return NULL;
}
}
Classes
Name | Description |
---|---|
SocialUserExportOverrides | Configuration override. |