TypedDataManagerInterface::getPropertyInstance

public TypedDataManagerInterface::getPropertyInstance(TypedDataInterface $object, $property_name, $value = NULL) Get a typed data instance for a property of a given typed data object. This method will use prototyping for fast and efficient instantiation of many property objects with the same property path; for example, when multiple comments are used comment_body.0.value needs to be instantiated very often. Prototyping is done by the root object's data type and the given property path, i.e. all

MenuLinkManagerInterface::updateDefinition

public MenuLinkManagerInterface::updateDefinition($id, array $new_definition_values, $persist = TRUE) Updates the values for a menu link definition in the menu tree storage. This will update the definition for a discovered menu link without the need for a full rebuild. It is also used for plugins not found through discovery to update definitions. Parameters string $id: The menu link plugin ID. array $new_definition_values: The new values for the link definition. This will usually be just a sub

LibraryDiscoveryParser::applyLibrariesOverride

protected LibraryDiscoveryParser::applyLibrariesOverride($libraries, $extension) Apply libraries overrides specified for the current active theme. Parameters array $libraries: The libraries definitions. string $extension: The extension in which these libraries are defined. Return value array The modified libraries definitions. File core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php, line 333 Class LibraryDiscoveryParser Parses library files to get extension data. Namespace Drupal\C

AggregatorFetcher

Defines a Plugin annotation object for aggregator fetcher plugins. Plugin Namespace: Plugin\aggregator\fetcher For a working example, see \Drupal\aggregator\Plugin\aggregator\fetcher\DefaultFetcher Hierarchy class \Drupal\Component\Annotation\Plugin implements AnnotationInterfaceclass \Drupal\aggregator\Annotation\AggregatorFetcher See also \Drupal\aggregator\Plugin\AggregatorPluginManager \Drupal\aggregator\Plugin\FetcherInterface \Drupal\aggregator\Plugin\AggregatorPluginSettingsBase Plu

BlockForm::$language

The language manager service. Type: \Drupal\Core\Language\LanguageManagerInterface File core/modules/block/src/BlockForm.php, line 58 Class BlockForm Provides form for block instance forms. Namespace Drupal\block Code protected $language;

PersistentDatabaseLockBackend

Defines the persistent database lock backend. This backend is global for this Drupal installation. Hierarchy class \Drupal\Core\Lock\LockBackendAbstract implements LockBackendInterfaceclass \Drupal\Core\Lock\DatabaseLockBackendclass \Drupal\Core\Lock\PersistentDatabaseLockBackend Related topics Locking mechanisms Functions to coordinate long-running operations across requests. File core/lib/Drupal/Core/Lock/PersistentDatabaseLockBackend.php, line 13 Namespace Drupal\Core\Lock Membe

ContentTranslationManagerInterface::getSupportedEntityTypes

public ContentTranslationManagerInterface::getSupportedEntityTypes() Gets the entity types that support content translation. Return value \Drupal\Core\Entity\EntityTypeInterface[] An array of entity types that support content translation. File core/modules/content_translation/src/ContentTranslationManagerInterface.php, line 18 Class ContentTranslationManagerInterface Provides an interface for common functionality for content translation. Namespace Drupal\content_translation Code publi

FileCacheInterface::delete

public FileCacheInterface::delete($filepath) Deletes data from the cache. Parameters string $filepath: Path of the file that the cached data is based on. File core/lib/Drupal/Component/FileCache/FileCacheInterface.php, line 57 Class FileCacheInterface Interface for objects that allow caching file data. Namespace Drupal\Component\FileCache Code public function delete($filepath);

HeadersCacheContext::getContext

public HeadersCacheContext::getContext($header = NULL) Returns the string representation of the cache context. A cache context service's name is used as a token (placeholder) cache key, and is then replaced with the string returned by this method. Parameters string|null $parameter: The parameter, or NULL to indicate all possible parameter values. Return value string The string representation of the cache context. When $parameter is NULL, a value representing all possible parameters must be ge

Query::$sqlGroupBy

An array of strings added as to the group by, keyed by the string to avoid duplicates. Type: array File core/lib/Drupal/Core/Entity/Query/Sql/Query.php, line 42 Class Query The SQL storage entity query class. Namespace Drupal\Core\Entity\Query\Sql Code protected $sqlGroupBy = array();