public function SocialLazyLoadingImageDisplayOverride::createConfigObject in Open Social 8.6
Same name and namespace in other branches
- 8.9 modules/custom/social_lazy_loading/social_lazy_loading_images/src/SocialLazyLoadingImageDisplayOverride.php \Drupal\social_lazy_loading_images\SocialLazyLoadingImageDisplayOverride::createConfigObject()
- 8.7 modules/custom/social_lazy_loading/social_lazy_loading_images/src/SocialLazyLoadingImageDisplayOverride.php \Drupal\social_lazy_loading_images\SocialLazyLoadingImageDisplayOverride::createConfigObject()
- 8.8 modules/custom/social_lazy_loading/social_lazy_loading_images/src/SocialLazyLoadingImageDisplayOverride.php \Drupal\social_lazy_loading_images\SocialLazyLoadingImageDisplayOverride::createConfigObject()
- 10.3.x modules/custom/social_lazy_loading/social_lazy_loading_images/src/SocialLazyLoadingImageDisplayOverride.php \Drupal\social_lazy_loading_images\SocialLazyLoadingImageDisplayOverride::createConfigObject()
- 10.0.x modules/custom/social_lazy_loading/social_lazy_loading_images/src/SocialLazyLoadingImageDisplayOverride.php \Drupal\social_lazy_loading_images\SocialLazyLoadingImageDisplayOverride::createConfigObject()
- 10.1.x modules/custom/social_lazy_loading/social_lazy_loading_images/src/SocialLazyLoadingImageDisplayOverride.php \Drupal\social_lazy_loading_images\SocialLazyLoadingImageDisplayOverride::createConfigObject()
- 10.2.x modules/custom/social_lazy_loading/social_lazy_loading_images/src/SocialLazyLoadingImageDisplayOverride.php \Drupal\social_lazy_loading_images\SocialLazyLoadingImageDisplayOverride::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/
custom/ social_lazy_loading/ social_lazy_loading_images/ src/ SocialLazyLoadingImageDisplayOverride.php, line 86
Class
- SocialLazyLoadingImageDisplayOverride
- Class SocialLazyLoadingTextFormatOverride.
Namespace
Drupal\social_lazy_loading_imagesCode
public function createConfigObject($name, $collection = StorageInterface::DEFAULT_COLLECTION) {
return NULL;
}