You are here

public function SocialUserExportOverrides::createConfigObject in Open Social 8.4

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::createConfigObject()
  2. 8 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::createConfigObject()
  3. 8.2 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::createConfigObject()
  4. 8.3 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::createConfigObject()
  5. 8.5 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::createConfigObject()
  6. 8.6 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::createConfigObject()
  7. 8.7 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::createConfigObject()
  8. 8.8 modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::createConfigObject()
  9. 10.3.x modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::createConfigObject()
  10. 10.0.x modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::createConfigObject()
  11. 10.1.x modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::createConfigObject()
  12. 10.2.x modules/social_features/social_user_export/src/SocialUserExportOverrides.php \Drupal\social_user_export\SocialUserExportOverrides::createConfigObject()

Creates a configuration object for use during install and synchronization.

If the overrider stores its overrides in configuration collections then it can have its own implementation of \Drupal\Core\Config\StorableConfigBase. Configuration overriders can link themselves to a configuration collection by listening to the \Drupal\Core\Config\ConfigEvents::COLLECTION_INFO event and adding the collections they are responsible for. Doing this will allow installation and synchronization to use the overrider's implementation of StorableConfigBase.

Parameters

string $name: The configuration object name.

string $collection: The configuration collection.

Return value

\Drupal\Core\Config\StorableConfigBase The configuration object for the provided name and collection.

Overrides ConfigFactoryOverrideInterface::createConfigObject

See also

\Drupal\Core\Config\ConfigCollectionInfo

\Drupal\Core\Config\ConfigImporter::importConfig()

\Drupal\Core\Config\ConfigInstaller::createConfiguration()

File

modules/social_features/social_user_export/src/SocialUserExportOverrides.php, line 140

Class

SocialUserExportOverrides
Configuration override.

Namespace

Drupal\social_user_export

Code

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