ConfigEntityStorageClassException

Thrown when a storage class is not an instance of ConfigEntityStorage. Hierarchy class \Drupal\Core\Config\ConfigException extends \RuntimeExceptionclass \Drupal\Core\Config\Entity\Exception\ConfigEntityStorageClassException File core/lib/Drupal/Core/Config/Entity/Exception/ConfigEntityStorageClassException.php, line 10 Namespace Drupal\Core\Config\Entity\Exception Members

Cookie::authenticate

public Cookie::authenticate(Request $request) Authenticates the user. Parameters \Symfony\Component\HttpFoundation\Request|null $request: The request object. Return value \Drupal\Core\Session\AccountInterface|null AccountInterface - in case of a successful authentication. NULL - in case where authentication failed. Overrides AuthenticationProviderInterface::authenticate File core/modules/user/src/Authentication/Provider/Cookie.php, line 55 Class Cookie Cookie based authentication provide

Upsert::__toString

public Upsert::__toString() Implements PHP magic __toString method to convert the query to a string. The toString operation is how we compile a query object to a prepared statement. Return value string A prepared statement query string for this object. Overrides Query::__toString File core/lib/Drupal/Core/Database/Driver/pgsql/Upsert.php, line 79 Class Upsert PostgreSQL implementation of \Drupal\Core\Database\Query\Upsert. Namespace Drupal\Core\Database\Driver\pgsql Code public functi

Date::processDate

public static Date::processDate(&$element, FormStateInterface $form_state, &$complete_form) Processes a date form element. Parameters array $element: The form element to process. Properties used: #attributes: An associative array containing: type: The type of date field rendered. #date_date_format: The date format used in PHP formats. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. array $complete_form: The complete form structure. Return value a

Transaction

SQLite implementation of \Drupal\Core\Database\Transaction. Hierarchy class \Drupal\Core\Database\Transactionclass \Drupal\Core\Database\Driver\sqlite\Transaction File core/lib/Drupal/Core/Database/Driver/sqlite/Transaction.php, line 10 Namespace Drupal\Core\Database\Driver\sqlite Members Name Modifiers Type Description Transaction::$connection protected property The connection object for this transaction. Transaction::$name protected property The name of the tr

EntityDefinitionUpdateManager::getFieldStorageDefinition

public EntityDefinitionUpdateManager::getFieldStorageDefinition($name, $entity_type_id) Returns a field storage definition ready to be manipulated. When needing to apply updates to existing field storage definitions, this method should always be used to retrieve a storage definition ready to be manipulated. @todo Make this return a mutable storage definition interface when we have one. See https://www.drupal.org/node/2346329. Parameters string $name: The field name. string $entity_type_id: The

NativeUpsert

PostgreSQL implementation of native \Drupal\Core\Database\Query\Upsert. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Upsert implements \Countable uses InsertTraitclass \Drupal\Core\Database\Driver\pgsql\NativeUpsert See also http://www.postgresql.org/docs/9.5/static/sql-insert.html#SQL-ON-CONFLICT File core/lib/Drupal/Core/Database/Driver/pgsql/NativeUpsert.php, line 12 Namespace Drupal\Core\Database\Driver\pgsql

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

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-