public function LanguageConfigurationHandler::writeToDatabase in Configuration Management 7.3
Saves the given configuration into the database.
Parameters
\Configuration\Configuration $configuration: The configuration to be saved.
Overrides ConfigurationHandler::writeToDatabase
File
- src/
Handlers/ LanguageConfigurationHandler.php, line 35
Class
Namespace
Configuration\HandlersCode
public function writeToDatabase(Configuration $configuration) {
$name = $this
->getInternalId($configuration
->getIdentifier());
$event = $this
->triggerEvent('write_to_database', $configuration);
$language = $event->configuration
->getData();
$this->configuration_manager
->drupal()
->locale_writeToDatabase($language);
}