ContentTranslationUpdatesManager::onConfigImporterImport

public ContentTranslationUpdatesManager::onConfigImporterImport() Listener for the ConfigImporter import event. File core/modules/content_translation/src/ContentTranslationUpdatesManager.php, line 73 Class ContentTranslationUpdatesManager Provides the logic needed to update field storage definitions when needed. Namespace Drupal\content_translation Code public function onConfigImporterImport() { $entity_types = array_filter($this->entityManager->getDefinitions(), function(Entit

StateTransitionValidationInterface

Validates whether a certain state transition is allowed. Hierarchy interface \Drupal\content_moderation\StateTransitionValidationInterface File core/modules/content_moderation/src/StateTransitionValidationInterface.php, line 11 Namespace Drupal\content_moderation Members Name Modifiers Type Description StateTransitionValidationInterface::getValidTransitions public function Gets a list of transitions that are legal for this user on this entity. StateTransitionValidation

RegisterSerializationClassesCompilerPass

Adds services tagged 'normalizer' and 'encoder' to the Serializer. Hierarchy class \Drupal\serialization\RegisterSerializationClassesCompilerPass implements CompilerPassInterface File core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php, line 12 Namespace Drupal\serialization Members Name Modifiers Type Description RegisterSerializationClassesCompilerPass::process public function Adds services to the Serializer. Overrides CompilerPassInterface::pro

ApcuBackend::$binPrefix

Prefix for all keys in this cache bin. Includes the site-specific prefix in $sitePrefix. Type: string File core/lib/Drupal/Core/Cache/ApcuBackend.php, line 31 Class ApcuBackend Stores cache items in the Alternative PHP Cache User Cache (APCu). Namespace Drupal\Core\Cache Code protected $binPrefix;

ShortcutSetListBuilder::buildRow

public ShortcutSetListBuilder::buildRow(EntityInterface $entity) Builds a row for an entity in the entity listing. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list. Return value array A render array structure of fields for this entity. Overrides EntityListBuilder::buildRow See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/shortcut/src/ShortcutSetListBuilder.php, line 43 Class ShortcutSetListBuilder Defines a class to bu

DbLogController::$database

The database service. Type: \Drupal\Core\Database\Connection File core/modules/dblog/src/Controller/DbLogController.php, line 28 Class DbLogController Returns responses for dblog routes. Namespace Drupal\dblog\Controller Code protected $database;

BlockPageDisplayVariantSubscriber::onSelectPageDisplayVariant

public BlockPageDisplayVariantSubscriber::onSelectPageDisplayVariant(PageDisplayVariantSelectionEvent $event) Selects the block page display variant. Parameters \Drupal\Core\Render\PageDisplayVariantSelectionEvent $event: The event to process. File core/modules/block/src/EventSubscriber/BlockPageDisplayVariantSubscriber.php, line 22 Class BlockPageDisplayVariantSubscriber Selects the block page display variant. Namespace Drupal\block\EventSubscriber Code public function onSelectPageDi

ApcuBackend::set

public ApcuBackend::set($cid, $data, $expire = CacheBackendInterface::CACHE_PERMANENT, array $tags = array()) Stores data in the persistent cache. Core cache implementations set the created time on cache item with microtime(TRUE) rather than REQUEST_TIME_FLOAT, because the created time of cache items should match when they are created, not when the request started. Apart from being more accurate, this increases the chance an item will legitimately be considered valid. Parameters string $cid: T

TypedConfigManager::$schemaStorage

A storage instance for reading configuration schema data. Type: \Drupal\Core\Config\StorageInterface File core/lib/Drupal/Core/Config/TypedConfigManager.php, line 29 Class TypedConfigManager Manages config schema type plugins. Namespace Drupal\Core\Config Code protected $schemaStorage;

ConfigInstaller::setSyncing

public ConfigInstaller::setSyncing($status) Sets the status of the isSyncing flag. Parameters bool $status: The status of the sync flag. Return value $this Overrides ConfigInstallerInterface::setSyncing File core/lib/Drupal/Core/Config/ConfigInstaller.php, line 387 Class ConfigInstaller Namespace Drupal\Core\Config Code public function setSyncing($status) { if (!$status) { $this->sourceStorage = NULL; } $this->isSyncing = $status; return $this; }