ConfigDependencyManager::updateData

public ConfigDependencyManager::updateData($name, array $dependencies) Updates one of the lightweight ConfigEntityDependency objects. Parameters $name: The configuration dependency name. array $dependencies: The configuration dependencies. The array is structured like this: array( 'config' => array( // An array of configuration entity object names. ), 'content' => array( // An array of content entity configuration dependency names. The default // format is

ArchiverManager::__construct

public ArchiverManager::__construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) Constructs a ArchiverManager object. Parameters \Traversable $namespaces: An object that implements \Traversable which contains the root paths keyed by the corresponding namespace to look for plugin implementations. \Drupal\Core\Cache\CacheBackendInterface $cache_backend: Cache backend instance to use. \Drupal\Core\Extension\ModuleHandlerInterface $module_

EntityFieldManager::$fieldDefinitions

Static cache of field definitions per bundle and entity type. Type: array File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 45 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $fieldDefinitions;

Schema::findTables

public Schema::findTables($table_expression) Finds all tables that are like the specified base table name. Parameters string $table_expression: An SQL expression, for example "cache_%" (without the quotes). Return value array Both the keys and the values are the matching tables. File core/lib/Drupal/Core/Database/Schema.php, line 183 Class Schema Provides a base implementation for Database Schema. Namespace Drupal\Core\Database Code public function findTables($table_expression) { /

DbLogController::buildFilterQuery

protected DbLogController::buildFilterQuery() Builds a query for database log administration filters based on session. Return value array An associative array with keys 'where' and 'args'. File core/modules/dblog/src/Controller/DbLogController.php, line 304 Class DbLogController Returns responses for dblog routes. Namespace Drupal\dblog\Controller Code protected function buildFilterQuery() { if (empty($_SESSION['dblog_overview_filter'])) { return; } $this->moduleHandler-

RouteProviderLazyBuilder::$routeBuilder

The route building service. Type: \Drupal\Core\Routing\RouteBuilderInterface File core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php, line 25 Class RouteProviderLazyBuilder A Route Provider front-end for all Drupal-stored routes. Namespace Drupal\Core\Routing Code protected $routeBuilder;

FTP::factory

static FTP::factory($jail, $settings) Defines a factory method for this class. Classes that extend this class must override the factory() static method. They should return a new instance of the appropriate FileTransfer subclass. Parameters string $jail: The full path where all file operations performed by this object will be restricted to. This prevents the FileTransfer classes from being able to touch other parts of the filesystem. array $settings: An array of connection settings for the File

Condition::notExists

public Condition::notExists($field, $langcode = NULL) Queries for the existence of a field. Parameters string $field: Return value ConditionInterface; Overrides ConditionInterface::notExists See also \Drupal\Core\Entity\Query\QueryInterface::notexists() File core/lib/Drupal/Core/Entity/Query/Sql/Condition.php, line 69 Class Condition Implements entity query conditions for SQL databases. Namespace Drupal\Core\Entity\Query\Sql Code public function notExists($field, $langcode = NULL) {

GeneratedUrl

Used to return generated URLs, along with associated bubbleable metadata. Note: not to be confused with \Drupal\Core\Url, which is for passing around ungenerated URLs (typically route name + route parameters). Hierarchy class \Drupal\Core\Cache\CacheableMetadata implements RefinableCacheableDependencyInterface uses RefinableCacheableDependencyTraitclass \Drupal\Core\Render\BubbleableMetadata implements AttachmentsInterface uses AttachmentsTraitclass \Drupal\Core\GeneratedUrl File core/lib/

entity_delete_multiple

entity_delete_multiple($entity_type, array $ids) Deletes multiple entities permanently. $storage_handler = \Drupal::entityTypeManager()->getStorage($entity_type); $entities = $storage_handler->loadMultiple($ids); $storage_handler->delete($entities); Parameters string $entity_type: The type of the entity. array $ids: An array of entity IDs of the entities to delete. Deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use the entity storage's delete() method to delete