LibraryDiscoveryInterface

Discovers information for asset (CSS/JavaScript) libraries. Library information is statically cached. Libraries are keyed by extension for several reasons: Libraries are not unique. Multiple extensions might ship with the same library in a different version or variant. This registry cannot (and does not attempt to) prevent library conflicts. Extensions implementing and thereby depending on a library that is registered by another extension can only rely on that extension's library. Two (or more)

ListDataDefinition

A typed data definition class for defining lists. Hierarchy class \Drupal\Core\TypedData\DataDefinition implements \ArrayAccess, DataDefinitionInterfaceclass \Drupal\Core\TypedData\ListDataDefinition implements ListDataDefinitionInterface File core/lib/Drupal/Core/TypedData/ListDataDefinition.php, line 8 Namespace Drupal\Core\TypedData Members Name Modifiers Type Description DataDefinition::$definition protected property The array holding values for all definition keys.

ViewUI::getStandardButtons

public ViewUI::getStandardButtons(&$form, FormStateInterface $form_state, $form_id, $name = NULL) Provide a standard set of Apply/Cancel/OK buttons for the forms. Also provide a hidden op operator because the forms plugin doesn't seem to properly provide which button was clicked. TODO: Is the hidden op operator still here somewhere, or is that part of the docblock outdated? File core/modules/views_ui/src/ViewUI.php, line 279 Class ViewUI Stores UI related temporary settings. Namespac

DatabaseBackend::__construct

public DatabaseBackend::__construct(Connection $connection, CacheTagsChecksumInterface $checksum_provider, $bin) Constructs a DatabaseBackend object. Parameters \Drupal\Core\Database\Connection $connection: The database connection. \Drupal\Core\Cache\CacheTagsChecksumInterface $checksum_provider: The cache tags checksum provider. string $bin: The cache bin for which the object is created. File core/lib/Drupal/Core/Cache/DatabaseBackend.php, line 49 Class DatabaseBackend Defines a default

Connection::prepareQuery

public Connection::prepareQuery($query) Prepares a query string and returns the prepared statement. This method caches prepared statements, reusing them when possible. It also prefixes tables names enclosed in curly-braces. Parameters $query: The query string as SQL, with curly-braces surrounding the table names. Return value \Drupal\Core\Database\StatementInterface A PDO prepared statement ready for its execute() method. Overrides Connection::prepareQuery File core/lib/Drupal/Core/Database/D

Error::ERROR

The error severity level. File core/lib/Drupal/Core/Utility/Error.php, line 19 Class Error Drupal error utility class. Namespace Drupal\Core\Utility Code const ERROR = 3;

EntityRouteEnhancer::applies

public EntityRouteEnhancer::applies(Route $route) Declares if the route enhancer applies to the given route. Parameters \Symfony\Component\Routing\Route $route: The route to consider attaching to. Return value bool TRUE if the check applies to the passed route, False otherwise. Overrides RouteEnhancerInterface::applies File core/lib/Drupal/Core/Entity/Enhancer/EntityRouteEnhancer.php, line 36 Class EntityRouteEnhancer Enhances an entity form route with the appropriate controller. Names

Internationalization

Internationalization and translation The principle of internationalization is that it should be possible to make a Drupal site in any language (or a multi-lingual site), where only content in the desired language is displayed for any particular page request. In order to make this happen, developers of modules, themes, and installation profiles need to make sure that all of the displayable content and user interface (UI) text that their project deals with is internationalized properly, so that i

BlockViewBuilder

Provides a Block view builder. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityViewBuilder implements EntityHandlerInterface, EntityViewBuilderInterfaceclass \Drupal\block\BlockViewBuilder File core/modules/block/src/BlockViewBuilder.php, line 23 Namespace Drupal\block Members Name Modifiers Type Description BlockViewBuilder::$moduleHandler protected property The module handl

TranslateFormBase::translateFilterValues

protected TranslateFormBase::translateFilterValues($reset = FALSE) Builds an array out of search criteria specified in request variables. Parameters bool $reset: If the list of values should be reset. Return value array The filter values. File core/modules/locale/src/Form/TranslateFormBase.php, line 121 Class TranslateFormBase Defines the locale user interface translation form base. Namespace Drupal\locale\Form Code protected function translateFilterValues($reset = FALSE) { if (!$r