ImportForm

Form constructor for the translation import screen. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\locale\Form\ImportForm File core/modules/locale/src/Form/ImportForm.php, line 15 Namespace Drupal\locale\Form Members Name Modifiers Type Description DependencySerializationTr

ImportableEntityStorageInterface::importUpdate

public ImportableEntityStorageInterface::importUpdate($name, Config $new_config, Config $old_config) Updates entities upon synchronizing configuration changes. Parameters string $name: The name of the configuration object. \Drupal\Core\Config\Config $new_config: A configuration object containing the new configuration data. \Drupal\Core\Config\Config $old_config: A configuration object containing the old configuration data. Throws \Drupal\Core\Config\ConfigImporterException Thrown when the con

ImportableEntityStorageInterface::importRename

public ImportableEntityStorageInterface::importRename($old_name, Config $new_config, Config $old_config) Renames entities upon synchronizing configuration changes. Parameters string $old_name: The original name of the configuration object. \Drupal\Core\Config\Config $new_config: A configuration object containing the new configuration data. \Drupal\Core\Config\Config $old_config: A configuration object containing the old configuration data. File core/lib/Drupal/Core/Config/Entity/ImportableEnti

ImportableEntityStorageInterface::importDelete

public ImportableEntityStorageInterface::importDelete($name, Config $new_config, Config $old_config) Delete entities upon synchronizing configuration changes. Parameters string $name: The name of the configuration object. \Drupal\Core\Config\Config $new_config: A configuration object containing the new configuration data. \Drupal\Core\Config\Config $old_config: A configuration object containing the old configuration data. File core/lib/Drupal/Core/Config/Entity/ImportableEntityStorageInterface

ImportableEntityStorageInterface::importCreate

public ImportableEntityStorageInterface::importCreate($name, Config $new_config, Config $old_config) Creates entities upon synchronizing configuration changes. Parameters string $name: The name of the configuration object. \Drupal\Core\Config\Config $new_config: A configuration object containing the new configuration data. \Drupal\Core\Config\Config $old_config: A configuration object containing the old configuration data. File core/lib/Drupal/Core/Config/Entity/ImportableEntityStorageInterfac

ImportableEntityStorageInterface

Provides an interface for responding to configuration imports. When configuration is synchronized between storages, the entity storage must handle the synchronization of configuration data for its entity. Hierarchy interface \Drupal\Core\Config\Entity\ImportableEntityStorageInterface File core/lib/Drupal/Core/Config/Entity/ImportableEntityStorageInterface.php, line 13 Namespace Drupal\Core\Config\Entity Members Name Modifiers Type Description ImportableEntityStorageInterface::

ImmutableConfigException

Exception throw when an immutable config object is altered. Hierarchy class \Drupal\Core\Config\ImmutableConfigException extends \LogicException See also \Drupal\Core\Config\ImmutableConfig File core/lib/Drupal/Core/Config/ImmutableConfigException.php, line 10 Namespace Drupal\Core\Config Members

ImmutableConfig::set

public ImmutableConfig::set($key, $value) Sets a value in this configuration object. Parameters string $key: Identifier to store value in configuration. mixed $value: Value to associate with identifier. Return value $this The configuration object. Throws \Drupal\Core\Config\ConfigValueException If $value is an array and any of its keys in any depth contains a dot. Overrides Config::set File core/lib/Drupal/Core/Config/ImmutableConfig.php, line 26 Class ImmutableConfig Defines the immuta

ImmutableConfig::save

public ImmutableConfig::save($has_trusted_data = FALSE) 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. Return value $this Overrides Config::save See also \Drupal\Core\Config\ConfigInstaller::createConfiguration() File core/lib/Drupal/Core/Co

ImmutableConfig::delete

public ImmutableConfig::delete() Deletes the configuration object. Return value \Drupal\Core\Config\Config The configuration object. Overrides Config::delete File core/lib/Drupal/Core/Config/ImmutableConfig.php, line 50 Class ImmutableConfig Defines the immutable configuration object. Namespace Drupal\Core\Config Code public function delete() { throw new ImmutableConfigException("Can not delete immutable configuration {$this->getName()}. Use \\Drupal\\Core\\Config\\ConfigFactoryI