EntityChangedTrait::getChangedTimeAcrossTranslations

public EntityChangedTrait::getChangedTimeAcrossTranslations() Returns the timestamp of the last entity change across all translations. Return value int The timestamp of the last entity save operation across all translations. Overrides EntityChangedInterface::getChangedTimeAcrossTranslations File core/lib/Drupal/Core/Entity/EntityChangedTrait.php, line 17 Class EntityChangedTrait Provides a trait for accessing changed time. Namespace Drupal\Core\Entity Code public function getChangedTi

ChainedFastBackend::invalidate

public ChainedFastBackend::invalidate($cid) Marks a cache item as invalid. Invalid items may be returned in later calls to get(), if the $allow_invalid argument is TRUE. Parameters string $cid: The cache ID to invalidate. Overrides CacheBackendInterface::invalidate See also \Drupal\Core\Cache\CacheBackendInterface::delete() \Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple() \Drupal\Core\Cache\CacheBackendInterface::invalidateAll() File core/lib/Drupal/Core/Cache/ChainedFastBackend

tracker_uninstall

tracker_uninstall() Implements hook_uninstall(). File core/modules/tracker/tracker.install, line 11 Install, update, and uninstall functions for tracker.module. Code function tracker_uninstall() { \Drupal::state()->delete('tracker.index_nid'); }

BlockRepositoryInterface::getVisibleBlocksPerRegion

public BlockRepositoryInterface::getVisibleBlocksPerRegion(array &$cacheable_metadata = []) Returns an array of regions and their block entities. Parameters \Drupal\Core\Cache\CacheableMetadata[] $cacheable_metadata: (optional) List of CacheableMetadata objects, keyed by region. This is by reference and is used to pass this information back to the caller. Return value array The array is first keyed by region machine name, with the values containing an array keyed by block ID, with block e

StorageReplaceDataWrapper::createCollection

public StorageReplaceDataWrapper::createCollection($collection) Creates a collection on the storage. A configuration storage can contain multiple sets of configuration objects in partitioned collections. The collection name identifies the current collection used. Implementations of this method must provide a new instance to avoid side effects caused by the fact that Config objects have their storage injected. Parameters string $collection: The collection name. Valid collection names conform to

AuthenticationSubscriber::onKernelRequestAuthenticate

public AuthenticationSubscriber::onKernelRequestAuthenticate(GetResponseEvent $event) Authenticates user on request. Parameters \Symfony\Component\HttpKernel\Event\GetResponseEvent $event: The request event. See also \Drupal\Core\Authentication\AuthenticationProviderInterface::authenticate() File core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php, line 74 Class AuthenticationSubscriber Authentication subscriber. Namespace Drupal\Core\EventSubscriber Code public functio

FieldStorageDefinitionEvent::__construct

public FieldStorageDefinitionEvent::__construct(FieldStorageDefinitionInterface $field_storage_definition, FieldStorageDefinitionInterface $original = NULL) Constructs a new FieldStorageDefinitionEvent. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $field_storage_definition: The field storage definition. \Drupal\Core\Field\FieldStorageDefinitionInterface $original: (optional) The original field storage definition. This should be passed only when updating the storage definition.

TranslatableMarkup::getArguments

public TranslatableMarkup::getArguments() Gets all arguments from this translated string. Return value mixed[] The array of arguments. File core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php, line 187 Class TranslatableMarkup Provides translatable markup class. Namespace Drupal\Core\StringTranslation Code public function getArguments() { return $this->arguments; }

TypedData::$definition

The data definition. Type: \Drupal\Core\TypedData\DataDefinitionInterface File core/lib/Drupal/Core/TypedData/TypedData.php, line 26 Class TypedData The abstract base class for typed data. Namespace Drupal\Core\TypedData Code protected $definition;

KeyValueEntityStorage::has

protected KeyValueEntityStorage::has($id, EntityInterface $entity) Determines if this entity already exists in storage. Parameters int|string $id: The original entity ID. \Drupal\Core\Entity\EntityInterface $entity: The entity being saved. Return value bool Overrides EntityStorageBase::has File core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php, line 186 Class KeyValueEntityStorage Provides a key value backend for entities. Namespace Drupal\Core\Entity\KeyValueStore