RecursiveValidator::$constraintValidatorFactory

Type: \Symfony\Component\Validator\ConstraintValidatorFactoryInterface File core/lib/Drupal/Core/TypedData/Validation/RecursiveValidator.php, line 28 Class RecursiveValidator Defines a recursive validator for Typed Data. Namespace Drupal\Core\TypedData\Validation Code protected $constraintValidatorFactory;

StorageBase

Provides a base class for key/value storage implementations. Hierarchy class \Drupal\Core\KeyValueStore\StorageBase implements KeyValueStoreInterface File core/lib/Drupal/Core/KeyValueStore/StorageBase.php, line 8 Namespace Drupal\Core\KeyValueStore Members Name Modifiers Type Description KeyValueStoreInterface::deleteAll public function Deletes all items from the key/value store. KeyValueStoreInterface::deleteMultiple public function Deletes multiple items from

CacheableResponse

A response that contains and can expose cacheability metadata. Supports Drupal's caching concepts: cache tags for invalidation and cache contexts for variations. Hierarchy class \Symfony\Component\HttpFoundation\Responseclass \Drupal\Core\Cache\CacheableResponse implements CacheableResponseInterface uses CacheableResponseTrait See also \Drupal\Core\Cache\Cache \Drupal\Core\Cache\CacheableMetadata \Drupal\Core\Cache\CacheableResponseTrait File core/lib/Drupal/Core/Cache/CacheableResponse.ph

EntityChangedInterface

Defines an interface for entity change timestamp tracking. This data may be useful for more precise cache invalidation (especially on the client side) and concurrent editing locking. The entity system automatically adds in the 'EntityChanged' constraint for entity types implementing this interface in order to disallow concurrent editing. Hierarchy interface \Drupal\Core\Entity\EntityChangedInterface See also Drupal\Core\Entity\Plugin\Validation\Constraint\EntityChangedConstraint File core/l

BlockInterface::getWeight

public BlockInterface::getWeight() Returns the weight of this block (used for sorting). Return value int The block weight. File core/modules/block/src/BlockInterface.php, line 99 Class BlockInterface Provides an interface defining a block entity. Namespace Drupal\block Code public function getWeight();

Block::setVisibilityConfig

public Block::setVisibilityConfig($instance_id, array $configuration) Sets the visibility condition configuration. Parameters string $instance_id: The condition instance ID. array $configuration: The condition configuration. Return value $this Overrides BlockInterface::setVisibilityConfig File core/modules/block/src/Entity/Block.php, line 258 Class Block Defines a Block configuration entity class. Namespace Drupal\block\Entity Code public function setVisibilityConfig($instance_id, ar

StorageBase::__construct

public StorageBase::__construct($collection) File core/lib/Drupal/Core/KeyValueStore/StorageBase.php, line 20 Class StorageBase Provides a base class for key/value storage implementations. Namespace Drupal\Core\KeyValueStore Code public function __construct($collection) { $this->collection = $collection; }

menu_link_content_path_delete

menu_link_content_path_delete($path) Implements hook_path_delete(). File core/modules/menu_link_content/menu_link_content.module, line 81 Allows administrators to create custom menu links. Code function menu_link_content_path_delete($path) { _menu_link_content_update_path_alias($path['alias']); }

LanguageNegotiator::isNegotiationMethodEnabled

public LanguageNegotiator::isNegotiationMethodEnabled($method_id, $type = NULL) Checks whether a language negotiation method is enabled for a language type. Parameters string $method_id: The language negotiation method ID. string $type: (optional) The language type. If none is passed, all the configurable language types will be inspected. Return value bool TRUE if the method is enabled for at least one of the given language types, or FALSE otherwise. Overrides LanguageNegotiatorInterface::isN

DefaultExceptionHtmlSubscriber::$httpKernel

The HTTP kernel. Type: \Symfony\Component\HttpKernel\HttpKernelInterface File core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php, line 24 Class DefaultExceptionHtmlSubscriber Exception subscriber for handling core default HTML error pages. Namespace Drupal\Core\EventSubscriber Code protected $httpKernel;