PathMatcher

Provides a path matcher. Hierarchy class \Drupal\Core\Path\PathMatcher implements PathMatcherInterface File core/lib/Drupal/Core/Path/PathMatcher.php, line 12 Namespace Drupal\Core\Path Members Name Modifiers Type Description PathMatcher::$configFactory protected property The config factory service. PathMatcher::$frontPage protected property The default front page. PathMatcher::$isCurrentFrontPage protected property Whether the current page is the front p

FileUsageInterface::delete

public FileUsageInterface::delete(FileInterface $file, $module, $type = NULL, $id = NULL, $count = 1) Removes a record to indicate that a module is no longer using a file. Parameters \Drupal\file\FileInterface $file: A file entity. string $module: The name of the module using the file. string $type: (optional) The type of the object that contains the referenced file. May be omitted if all module references to a file are being deleted. Defaults to NULL. int $id: (optional) The unique, numeric I

NullBackend::get

public NullBackend::get($cid, $allow_invalid = FALSE) Returns data from the persistent cache. Parameters string $cid: The cache ID of the data to retrieve. bool $allow_invalid: (optional) If TRUE, a cache item may be returned even if it is expired or has been invalidated. Such items may sometimes be preferred, if the alternative is recalculating the value stored in the cache, especially if another concurrent request is already recalculating the same value. The "valid" property of the returned

BackendChain

Defines a chained cache implementation for combining multiple cache backends. Can be used to combine two or more backends together to behave as if they were a single backend. For example a slower, persistent storage engine could be combined with a faster, volatile storage engine. When retrieving items from cache, they will be fetched from the volatile backend first, only falling back to the persistent backend if an item is not available. An item not present in the volatile backend but found in

SSH::getSettingsForm

public SSH::getSettingsForm() Returns a form to collect connection settings credentials. Implementing classes can either extend this form with fields collecting the specific information they need, or override it entirely. Return value array An array that contains a Form API definition. Overrides FileTransfer::getSettingsForm File core/lib/Drupal/Core/FileTransfer/SSH.php, line 140 Class SSH The SSH connection class for the update module. Namespace Drupal\Core\FileTransfer Code public

ImageStyle::postDelete

public static ImageStyle::postDelete(EntityStorageInterface $storage, array $entities) Acts on deleted entities before the delete hook is invoked. Used after the entities are deleted but before invoking the delete hook. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. \Drupal\Core\Entity\EntityInterface[] $entities: An array of entities. Overrides Entity::postDelete File core/modules/image/src/Entity/ImageStyle.php, line 117 Class ImageStyle Defin

ConfigMapperInterface::getTitle

public ConfigMapperInterface::getTitle() Returns title of this translation page. Return value string The page title. File core/modules/config_translation/src/ConfigMapperInterface.php, line 20 Class ConfigMapperInterface Defines an interface for configuration mapper. Namespace Drupal\config_translation Code public function getTitle();

SqlContentEntityStorage::doLoadMultiple

protected SqlContentEntityStorage::doLoadMultiple(array $ids = NULL) Performs storage-specific loading of entities. Override this method to add custom functionality directly after loading. This is always called, while self::postLoad() is only called when there are actual results. Parameters array|null $ids: (optional) An array of entity IDs, or NULL to load all entities. Return value \Drupal\Core\Entity\EntityInterface[] Associative array of entities, keyed on the entity ID. Overrides EntityS

LanguageAddForm::validateCustom

public LanguageAddForm::validateCustom(array $form, FormStateInterface $form_state) Validates the language addition form on custom language button. File core/modules/language/src/Form/LanguageAddForm.php, line 110 Class LanguageAddForm Controller for language addition forms. Namespace Drupal\language\Form Code public function validateCustom(array $form, FormStateInterface $form_state) { if ($form_state->getValue('predefined_langcode') == 'custom') { $langcode = $form_state->

Connection::sqlFunctionConcat

public static Connection::sqlFunctionConcat() SQLite compatibility implementation for the CONCAT() SQL function. File core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php, line 216 Class Connection SQLite implementation of \Drupal\Core\Database\Connection. Namespace Drupal\Core\Database\Driver\sqlite Code public static function sqlFunctionConcat() { $args = func_get_args(); return implode('', $args); }