PhpBackend::invalidatebyHash

protected PhpBackend::invalidatebyHash($cidhash) Invalidate one cache item. Parameters string $cidhash: The hashed version of the original cache ID after being normalized. File core/lib/Drupal/Core/Cache/PhpBackend.php, line 194 Class PhpBackend Defines a PHP cache implementation. Namespace Drupal\Core\Cache Code protected function invalidatebyHash($cidhash) { if ($item = $this->getByHash($cidhash)) { $item->expire = REQUEST_TIME - 1; $this->writeItem($cidhash, $ite

CacheContextsPass::process

public CacheContextsPass::process(ContainerBuilder $container) Implements CompilerPassInterface::process(). Collects the cache contexts into the cache_contexts parameter. Overrides CompilerPassInterface::process File core/lib/Drupal/Core/Cache/Context/CacheContextsPass.php, line 18 Class CacheContextsPass Adds cache_contexts parameter to the container. Namespace Drupal\Core\Cache\Context Code public function process(ContainerBuilder $container) { $cache_contexts = []; foreach (arra

ContextProvidersPass::process

public ContextProvidersPass::process(ContainerBuilder $container) Passes the service IDs of all context providers to the context repository. Overrides CompilerPassInterface::process File core/lib/Drupal/Core/DependencyInjection/Compiler/ContextProvidersPass.php, line 18 Class ContextProvidersPass Adds the context provider service IDs to the context manager. Namespace Drupal\Core\DependencyInjection\Compiler Code public function process(ContainerBuilder $container) { $context_provide

CacheBackendInterface::CACHE_PERMANENT

Indicates that the item should never be removed unless explicitly deleted. File core/lib/Drupal/Core/Cache/CacheBackendInterface.php, line 21 Class CacheBackendInterface Defines an interface for cache implementations. Namespace Drupal\Core\Cache Code const CACHE_PERMANENT = -1;

ConfigCollectionInfo::getOverrideService

public ConfigCollectionInfo::getOverrideService($collection) Gets the config factory override service responsible for the collection. Parameters string $collection: The configuration collection. Return value \Drupal\Core\Config\ConfigFactoryOverrideInterface|null The override service responsible for the collection if one exists. NULL if not. File core/lib/Drupal/Core/Config/ConfigCollectionInfo.php, line 70 Class ConfigCollectionInfo Gets information on all the possible configuration col

Gettext::fileToDatabase

public static Gettext::fileToDatabase($file, $options) Reads the given PO files into the database. Parameters object $file: File object with an URI property pointing at the file's path. "langcode": The language the strings will be added to. "uri": File URI. array $options: An array with options that can have the following elements: 'overwrite_options': Overwrite options array as defined in Drupal\locale\PoDatabaseWriter. Optional, defaults to an empty array. 'customized': Flag indicating

ImageEffect::$label

The human-readable name of the image effect. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/image/src/Annotation/ImageEffect.php, line 42 Class ImageEffect Defines an image effect annotation object. Namespace Drupal\image\Annotation Code public $label;

TextFormat

Defines the text_format element for the configuration translation interface. Hierarchy class \Drupal\config_translation\FormElement\FormElementBase implements ElementInterface uses StringTranslationTraitclass \Drupal\config_translation\FormElement\TextFormat File core/modules/config_translation/src/FormElement/TextFormat.php, line 10 Namespace Drupal\config_translation\FormElement Members Name Modifiers Type Description FormElementBase::$definition protected property Th

NodeGrantDatabaseStorage

Defines a storage handler class that handles the node grants system. This is used to build node query access. Hierarchy class \Drupal\node\NodeGrantDatabaseStorage implements NodeGrantDatabaseStorageInterface Related topics Node access rights The node access system determines who can do what to which nodes. File core/modules/node/src/NodeGrantDatabaseStorage.php, line 20 Namespace Drupal\node Members Name Modifiers Type Description NodeGrantDatabaseStorage::$database prote

RouteBuilder::$dispatcher

The event dispatcher to notify of routes. Type: \Symfony\Component\EventDispatcher\EventDispatcherInterface File core/lib/Drupal/Core/Routing/RouteBuilder.php, line 40 Class RouteBuilder Managing class for rebuilding the router table. Namespace Drupal\Core\Routing Code protected $dispatcher;