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

ConfigSync::$syncStorage

The sync configuration object. Type: \Drupal\Core\Config\StorageInterface File core/modules/config/src/Form/ConfigSync.php, line 39 Class ConfigSync Construct the storage changes in a configuration synchronization form. Namespace Drupal\config\Form Code protected $syncStorage;

ConfigBase::merge

public ConfigBase::merge(array $data_to_merge) Merges data into a configuration object. Parameters array $data_to_merge: An array containing data to merge. Return value $this The configuration object. File core/lib/Drupal/Core/Config/ConfigBase.php, line 248 Class ConfigBase Provides a base class for configuration objects with get/set support. Namespace Drupal\Core\Config Code public function merge(array $data_to_merge) { // Preserve integer keys so that configuration keys are not

ImageToolkitBase::getToolkitOperation

protected ImageToolkitBase::getToolkitOperation($operation) Gets a toolkit operation plugin instance. Parameters string $operation: The toolkit operation requested. Return value \Drupal\Core\ImageToolkit\ImageToolkitOperationInterface An instance of the requested toolkit operation plugin. File core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php, line 115 Class ImageToolkitBase Provides a base class for image toolkit plugins. Namespace Drupal\Core\ImageToolkit Code protected functi

ReadOnlyStream::stream_open

public ReadOnlyStream::stream_open($uri, $mode, $options, &$opened_path) Support for fopen(), file_get_contents(), etc. Any write modes will be rejected, as this is a read-only stream wrapper. Parameters string $uri: A string containing the URI to the file to open. int $mode: The file mode, only strict readonly modes are supported. int $options: A bit mask of STREAM_USE_PATH and STREAM_REPORT_ERRORS. string $opened_path: A string containing the path actually opened. Return value bool TRUE

Registry::setCache

protected Registry::setCache() Persists the theme registry in the cache backend. File core/lib/Drupal/Core/Theme/Registry.php, line 250 Class Registry Defines the theme registry service. Namespace Drupal\Core\Theme Code protected function setCache() { $this->cache->set('theme_registry:' . $this->theme->getName(), $this->registry[$this->theme->getName()], Cache::PERMANENT, array('theme_registry')); }

LocalActionManager::$defaults

Provides some default values for all local action plugins. Type: array Overrides DefaultPluginManager::$defaults File core/lib/Drupal/Core/Menu/LocalActionManager.php, line 31 Class LocalActionManager Provides the default local action manager using YML as primary definition. Namespace Drupal\Core\Menu Code protected $defaults = array( // The plugin id. Set by the plugin system based on the top-level YAML key. 'id' => NULL, // The static title for the local action. 'title' =&

ImageStyle::deleteImageEffect

public ImageStyle::deleteImageEffect(ImageEffectInterface $effect) Deletes an image effect from this style. Parameters \Drupal\image\ImageEffectInterface $effect: The image effect object. Return value $this Overrides ImageStyleInterface::deleteImageEffect File core/modules/image/src/Entity/ImageStyle.php, line 337 Class ImageStyle Defines an image style configuration entity. Namespace Drupal\image\Entity Code public function deleteImageEffect(ImageEffectInterface $effect) { $this-&

ConfigEvents::IMPORT

Name of the event fired when importing configuration to target storage. This event allows modules to perform additional actions when configuration is imported. The event listener method receives a \Drupal\Core\Config\ConfigImporterEvent instance. See also \Drupal\Core\Config\ConfigImporterEvent \Drupal\Core\Config\ConfigImporter::import(). \Drupal\Core\EventSubscriber\ConfigSnapshotSubscriber::onConfigImporterImport(). Related topics Events Overview of event dispatch and subscribing File cor

DatabaseBackendFactory::get

DatabaseBackendFactory::get($bin) Gets DatabaseBackend for the specified cache bin. Parameters $bin: The cache bin for which the object is created. Return value \Drupal\Core\Cache\DatabaseBackend The cache backend object for the specified cache bin. Overrides CacheFactoryInterface::get File core/lib/Drupal/Core/Cache/DatabaseBackendFactory.php, line 45 Class DatabaseBackendFactory Namespace Drupal\Core\Cache Code function get($bin) { return new DatabaseBackend($this->connection