drupal_load_updates

drupal_load_updates() Loads .install files for installed modules to initialize the update system. File core/includes/install.inc, line 79 API functions for installing modules and themes. Code function drupal_load_updates() { foreach (drupal_get_installed_schema_version(NULL, FALSE, TRUE) as $module => $schema_version) { if ($schema_version > -1) { module_load_install($module); } } }

tablesort_get_order

tablesort_get_order($headers) Determines the current sort criterion. Parameters $headers: An array of column headers in the format described in '#type' => 'table'. Return value An associative array describing the criterion, containing the keys: "name": The localized title of the table column. "sql": The name of the database field to sort on. File core/includes/tablesort.inc, line 97 Functions to aid in the creation of sortable tables. Code function tablesort_get_order($headers) { $

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) { /

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;

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_

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

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

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

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

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