DatabaseBackend::catchException

protected DatabaseBackend::catchException(\Exception $e, $table_name = NULL) Act on an exception when cache might be stale. If the table does not yet exist, that's fine, but if the table exists and yet the query failed, then the cache is stale and the exception needs to propagate. Parameters $e: The exception. string|null $table_name: The table name. Defaults to $this->bin. Throws \Exception File core/lib/Drupal/Core/Cache/DatabaseBackend.php, line 388 Class DatabaseBackend Defines a

DatabaseBackend::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/lib/Drupal/Core/Flood/DatabaseBackend.php, line 31 Class DatabaseBackend Defines the database flood backend. This is the default Drupal backend. Namespace Drupal\Core\Flood Code protected $requestStack;

DatabaseBackend::$connection

The database connection used to store flood event information. Type: \Drupal\Core\Database\Connection File core/lib/Drupal/Core/Flood/DatabaseBackend.php, line 24 Class DatabaseBackend Defines the database flood backend. This is the default Drupal backend. Namespace Drupal\Core\Flood Code protected $connection;

DatabaseBackend::$connection

The database connection. Type: \Drupal\Core\Database\Connection File core/lib/Drupal/Core/Cache/DatabaseBackend.php, line 30 Class DatabaseBackend Defines a default cache implementation. Namespace Drupal\Core\Cache Code protected $connection;

DatabaseBackend::$checksumProvider

The cache tags checksum provider. Type: \Drupal\Core\Cache\CacheTagsChecksumInterface File core/lib/Drupal/Core/Cache/DatabaseBackend.php, line 37 Class DatabaseBackend Defines a default cache implementation. Namespace Drupal\Core\Cache Code protected $checksumProvider;

DatabaseBackend::$bin

Type: string File core/lib/Drupal/Core/Cache/DatabaseBackend.php, line 22 Class DatabaseBackend Defines a default cache implementation. Namespace Drupal\Core\Cache Code protected $bin;

DatabaseBackend

Defines the database flood backend. This is the default Drupal backend. Hierarchy class \Drupal\Core\Flood\DatabaseBackend implements FloodInterface File core/lib/Drupal/Core/Flood/DatabaseBackend.php, line 12 Namespace Drupal\Core\Flood Members Name Modifiers Type Description DatabaseBackend::$connection protected property The database connection used to store flood event information. DatabaseBackend::$requestStack protected property The request stack. Databas

DatabaseBackend

Defines a default cache implementation. This is Drupal's default cache implementation. It uses the database to store cached data. Each cache bin corresponds to a database table by the same name. Hierarchy class \Drupal\Core\Cache\DatabaseBackend implements CacheBackendInterface Related topics Cache API Information about the Drupal Cache API File core/lib/Drupal/Core/Cache/DatabaseBackend.php, line 17 Namespace Drupal\Core\Cache Members Name Modifiers Type Description CacheBa

Database::startLog

final public static Database::startLog($logging_key, $key = 'default') Starts logging a given logging key on the specified connection. Parameters string $logging_key: The logging key to log. string $key: The database connection key for which we want to log. Return value \Drupal\Core\Database\Log The query log object. Note that the log object does support richer methods than the few exposed through the Database class, so in some cases it may be desirable to access it directly. See also \Drupa

Database::setMultipleConnectionInfo

final public static Database::setMultipleConnectionInfo(array $databases) Sets connection information for multiple databases. Parameters array $databases: A multi-dimensional array specifying database connection parameters, as defined in settings.php. File core/lib/Drupal/Core/Database/Database.php, line 287 Class Database Primary front-controller for the database system. Namespace Drupal\Core\Database Code final public static function setMultipleConnectionInfo(array $databases) { f