update_themes_uninstalled

update_themes_uninstalled($themes) Implements hook_themes_uninstalled(). If themes are uninstalled, we invalidate the information of available updates. File core/modules/update/update.module, line 256 Handles updates of Drupal core and contributed projects. Code function update_themes_uninstalled($themes) { // Clear all update module data. update_storage_clear(); }

update_uninstall

update_uninstall() Implements hook_uninstall(). File core/modules/update/update.install, line 72 Install, update, and uninstall functions for the Update Manager module. Code function update_uninstall() { \Drupal::state()->delete('update.last_check'); \Drupal::state()->delete('update.last_email_notification'); $queue = \Drupal::queue('update_fetch_tasks'); $queue->deleteQueue(); }

UPDATE_UNKNOWN

No available update data was found for project. File core/modules/update/update.module, line 54 Handles updates of Drupal core and contributed projects. Code const UPDATE_UNKNOWN = -2;

update_verify_update_archive

update_verify_update_archive($project, $archive_file, $directory) Implements hook_verify_update_archive(). First, we ensure that the archive isn't a copy of Drupal core, which the update manager does not yet support. See https://www.drupal.org/node/606592. Then, we make sure that at least one module included in the archive file has an .info.yml file which claims that the code is compatible with the current version of Drupal core. See also \Drupal\Core\Extension\ExtensionDiscovery _system_rebui

Upsert

PostgreSQL implementation of \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\Upsert File core/lib/Drupal/Core/Database/Driver/pgsql/Upsert.php, line 10 Namespace Drupal\Core\Database\Driver\pgsql Members Name Modifiers Type Description InsertTrait::$defaultFields protected property A

Upsert

General class for an abstracted "Upsert" (UPDATE or INSERT) query operation. This class can only be used with a table with a single unique index. Often, this will be the primary key. On such a table this class works like Insert except the rows will be set to the desired values even if the key existed before. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Upsert implements \Countable uses InsertTrait File core/lib/Drupal/Cor

Upsert

MySQL implementation of \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\mysql\Upsert File core/lib/Drupal/Core/Database/Driver/mysql/Upsert.php, line 10 Namespace Drupal\Core\Database\Driver\mysql Members Name Modifiers Type Description InsertTrait::$defaultFields protected property An arr

Upsert

SQLite implementation of \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\sqlite\Upsert File core/lib/Drupal/Core/Database/Driver/sqlite/Upsert.php, line 10 Namespace Drupal\Core\Database\Driver\sqlite Members Name Modifiers Type Description InsertTrait::$defaultFields protected property An

Upsert::$key

The unique or primary key of the table. Type: string File core/lib/Drupal/Core/Database/Query/Upsert.php, line 25 Class Upsert General class for an abstracted "Upsert" (UPDATE or INSERT) query operation. Namespace Drupal\Core\Database\Query Code protected $key;

Upsert::execute

public Upsert::execute() Runs the query against the database. Return value \Drupal\Core\Database\StatementInterface|null A prepared statement, or NULL if the query is not valid. Overrides Upsert::execute File core/lib/Drupal/Core/Database/Driver/pgsql/Upsert.php, line 15 Class Upsert PostgreSQL implementation of \Drupal\Core\Database\Query\Upsert. Namespace Drupal\Core\Database\Driver\pgsql Code public function execute() { if (!$this->preExecute()) { return NULL; } // De