ConfigImporterFieldPurger::getFieldStoragesToPurge

public static ConfigImporterFieldPurger::getFieldStoragesToPurge(array $extensions, array $deletes) Gets the list of fields to purge before configuration synchronization. If, during a configuration synchronization, a field is being deleted and the module that provides the field type is being uninstalled then the field data must be purged before the module is uninstalled. Also, if deleted fields exist whose field types are provided by modules that are being uninstalled their data need to be purg

ConfigImporterFieldPurger

Processes field purges before a configuration synchronization. Hierarchy class \Drupal\field\ConfigImporterFieldPurger File core/modules/field/src/ConfigImporterFieldPurger.php, line 12 Namespace Drupal\field Members Name Modifiers Type Description ConfigImporterFieldPurger::getFieldStoragesToPurge public static function Gets the list of fields to purge before configuration synchronization. ConfigImporterFieldPurger::initializeSandbox protected static function In

ConfigImporterException

Exception thrown when a config import fails. Hierarchy class \Drupal\Core\Config\ConfigException extends \RuntimeExceptionclass \Drupal\Core\Config\ConfigImporterException File core/lib/Drupal/Core/Config/ConfigImporterException.php, line 8 Namespace Drupal\Core\Config Members

ConfigImporterEvent::__construct

public ConfigImporterEvent::__construct(ConfigImporter $config_importer) Constructs ConfigImporterEvent. Parameters \Drupal\Core\Config\ConfigImporter $config_importer: A config import object to notify listeners about. File core/lib/Drupal/Core/Config/ConfigImporterEvent.php, line 21 Class ConfigImporterEvent Namespace Drupal\Core\Config Code public function __construct(ConfigImporter $config_importer) { $this->configImporter = $config_importer; }

ConfigImporterEvent::getConfigImporter

public ConfigImporterEvent::getConfigImporter() Gets the config import object. Return value \Drupal\Core\Config\ConfigImporter The ConfigImporter object. File core/lib/Drupal/Core/Config/ConfigImporterEvent.php, line 31 Class ConfigImporterEvent Namespace Drupal\Core\Config Code public function getConfigImporter() { return $this->configImporter; }

ConfigImporterEvent::getChangelist

public ConfigImporterEvent::getChangelist($op = NULL, $collection = StorageInterface::DEFAULT_COLLECTION) Gets the list of changes that will be imported. Parameters string $op: (optional) A change operation. Either delete, create or update. If supplied the returned list will be limited to this operation. string $collection: (optional) The collection to get the changelist for. Defaults to the default collection. Return value array An array of config changes that are yet to be imported. See als

ConfigImporterEvent::$configImporter

Configuration import object. Type: \Drupal\Core\Config\ConfigImporter File core/lib/Drupal/Core/Config/ConfigImporterEvent.php, line 13 Class ConfigImporterEvent Namespace Drupal\Core\Config Code protected $configImporter;

ConfigImporterEvent

Hierarchy class \Symfony\Component\EventDispatcher\Eventclass \Drupal\Core\Config\ConfigImporterEvent File core/lib/Drupal/Core/Config/ConfigImporterEvent.php, line 7 Namespace Drupal\Core\Config Members Name Modifiers Type Description ConfigImporterEvent::$configImporter protected property Configuration import object. ConfigImporterEvent::getChangelist public function Gets the list of changes that will be imported. ConfigImporterEvent::getConfigImporter pub

ConfigImporter::__construct

public ConfigImporter::__construct(StorageComparerInterface $storage_comparer, EventDispatcherInterface $event_dispatcher, ConfigManagerInterface $config_manager, LockBackendInterface $lock, TypedConfigManagerInterface $typed_config, ModuleHandlerInterface $module_handler, ModuleInstallerInterface $module_installer, ThemeHandlerInterface $theme_handler, TranslationInterface $string_translation) Constructs a configuration import object. Parameters \Drupal\Core\Config\StorageComparerInterface $s

ConfigImporter::validate

public ConfigImporter::validate() Dispatches validate event for a ConfigImporter object. Events should throw a \Drupal\Core\Config\ConfigImporterException to prevent an import from occurring. Throws \Drupal\Core\Config\ConfigImporterException Exception thrown if the validate event logged any errors. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 709 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code public function validate() { if (!$