Update::execute

public Update::execute() Executes the UPDATE query. Return value The number of rows matched by the update query. This includes rows that actually didn't have to be updated because the values didn't change. Overrides Update::execute File core/lib/Drupal/Core/Database/Driver/pgsql/Update.php, line 14 Class Update PostgreSQL implementation of \Drupal\Core\Database\Query\Update. Namespace Drupal\Core\Database\Driver\pgsql Code public function execute() { $max_placeholder = 0; $blobs =

Update::execute

public Update::execute() Executes the UPDATE query. Return value The number of rows matched by the update query. This includes rows that actually didn't have to be updated because the values didn't change. Overrides Query::execute File core/lib/Drupal/Core/Database/Query/Update.php, line 120 Class Update General class for an abstracted UPDATE operation. Namespace Drupal\Core\Database\Query Code public function execute() { // Expressions take priority over literal fields, so we proce

Update::$table

The table to update. Type: string File core/lib/Drupal/Core/Database/Query/Update.php, line 22 Class Update General class for an abstracted UPDATE operation. Namespace Drupal\Core\Database\Query Code protected $table;

Update::$expressionFields

Array of fields to update to an expression in case of a duplicate record. This variable is a nested array in the following format: <some field> => array( 'condition' => <condition to execute, as a string>, 'arguments' => <array of arguments for condition, or NULL for none>, ); Type: array File core/lib/Drupal/Core/Database/Query/Update.php, line 51 Class Update General class for an abstracted UPDATE operation. Namespace Drupal\Core\Database\Query Code prot

Update::expression

public Update::expression($field, $expression, array $arguments = NULL) Specifies fields to be updated as an expression. Expression fields are cases such as counter=counter+1. This method takes precedence over fields(). Parameters $field: The field to set. $expression: The field will be set to the value of this expression. This parameter may include named placeholders. $arguments: If specified, this is an array of key/value pairs for named placeholders corresponding to the expression. Return v

update.module

Handles updates of Drupal core and contributed projects. The module checks for available updates of Drupal core and any installed contributed modules and themes. It warns site administrators if newer releases are available via the system status report (admin/reports/status), the module and theme pages, and optionally via email. It also provides the ability to install contributed modules and themes via an user interface. File core/modules/update/update.module Functions Name Description t

update.report.inc

Code required only when rendering the available updates report. File core/modules/update/update.report.inc Functions Name Description template_preprocess_update_project_status Prepares variables for update project status templates. template_preprocess_update_report Prepares variables for project status report templates.

Update::$arguments

An array of values to update to. Type: array File core/lib/Drupal/Core/Database/Query/Update.php, line 36 Class Update General class for an abstracted UPDATE operation. Namespace Drupal\Core\Database\Query Code protected $arguments = array();

update.install

Install, update, and uninstall functions for the Update Manager module. File core/modules/update/update.install Functions Name Description update_install Implements hook_install(). update_requirements Implements hook_requirements(). update_uninstall Implements hook_uninstall(). update_update_8001 Rebuild the router to ensure admin/reports/updates/check has CSRF protection. _update_requirement_check Fills in the requirements array.

update.manager.inc

Administrative screens and processing functions of the Update Manager module. This allows site administrators with the 'administer software updates' permission to either upgrade existing projects, or download and install new ones, so long as the killswitch setting ('allow_authorize_operations') is not FALSE. To install new code, the administrator is prompted for either the URL of an archive file, or to directly upload the archive file. The archive is loaded into a temporary location, extracted,