function StorableConfigBase::save
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Config/StorableConfigBase.php \Drupal\Core\Config\StorableConfigBase::save()
- 10 core/lib/Drupal/Core/Config/StorableConfigBase.php \Drupal\Core\Config\StorableConfigBase::save()
- 9 core/lib/Drupal/Core/Config/StorableConfigBase.php \Drupal\Core\Config\StorableConfigBase::save()
- 8.9.x core/lib/Drupal/Core/Config/StorableConfigBase.php \Drupal\Core\Config\StorableConfigBase::save()
Saves the configuration object.
Must invalidate the cache tags associated with the configuration object.
Parameters
bool $has_trusted_data: Set to TRUE if the configuration data has already been checked to ensure it conforms to schema. Generally this is only used during module and theme installation. This argument is deprecated in Drupal 11.4.0 and is removed in Drupal 13.0.0.
Return value
$this
See also
\Drupal\Core\Config\ConfigInstaller::createConfiguration()
2 methods override StorableConfigBase::save()
- Config::save in core/
lib/ Drupal/ Core/ Config/ Config.php - Saves the configuration object.
- LanguageConfigOverride::save in core/
modules/ language/ src/ Config/ LanguageConfigOverride.php - Saves the configuration object.
File
-
core/
lib/ Drupal/ Core/ Config/ StorableConfigBase.php, line 79
Class
- StorableConfigBase
- Provides a base class for configuration objects with storage support.
Namespace
Drupal\Core\ConfigCode
abstract public function save($has_trusted_data = FALSE);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.