UpdateBuildIdCommand::render

public UpdateBuildIdCommand::render() Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render File core/lib/Drupal/Core/Ajax/UpdateBuildIdCommand.php, line 52 Class UpdateBuildIdCommand AJAX command for updating the value of a hidden form_build_id input element on a form. It requires the form passed in to have keys for both the old build ID in #build_id_old and the new build ID in #build_id. Namespace Drupal\Core\Ajax Code public functio

UpdateFetcher

Fetches project information from remote locations. Hierarchy class \Drupal\update\UpdateFetcher implements UpdateFetcherInterface uses DependencySerializationTrait File core/modules/update/src/UpdateFetcher.php, line 13 Namespace Drupal\update Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for serialization. DependencySerializationTrait::__sleep public functio

UpdateBuildIdCommand::$old

Old build id. Type: string File core/lib/Drupal/Core/Ajax/UpdateBuildIdCommand.php, line 27 Class UpdateBuildIdCommand AJAX command for updating the value of a hidden form_build_id input element on a form. It requires the form passed in to have keys for both the old build ID in #build_id_old and the new build ID in #build_id. Namespace Drupal\Core\Ajax Code protected $old;

UpdateBuildIdCommand::__construct

public UpdateBuildIdCommand::__construct($old, $new) Constructs a UpdateBuildIdCommand object. Parameters string $old: The old build_id. string $new: The new build_id. File core/lib/Drupal/Core/Ajax/UpdateBuildIdCommand.php, line 44 Class UpdateBuildIdCommand AJAX command for updating the value of a hidden form_build_id input element on a form. It requires the form passed in to have keys for both the old build ID in #build_id_old and the new build ID in #build_id. Namespace Drupal\Core

UpdateBuildIdCommand::$new

New build id. Type: string File core/lib/Drupal/Core/Ajax/UpdateBuildIdCommand.php, line 34 Class UpdateBuildIdCommand AJAX command for updating the value of a hidden form_build_id input element on a form. It requires the form passed in to have keys for both the old build ID in #build_id_old and the new build ID in #build_id. Namespace Drupal\Core\Ajax Code protected $new;

Update::fields

public Update::fields(array $fields) Adds a set of field->value pairs to be updated. Parameters $fields: An associative array of fields to write into the database. The array keys are the field names and the values are the values to which to set them. Return value \Drupal\Core\Database\Query\Update The called object. File core/lib/Drupal/Core/Database/Query/Update.php, line 81 Class Update General class for an abstracted UPDATE operation. Namespace Drupal\Core\Database\Query Code p

Update::__toString

public Update::__toString() Implements PHP magic __toString method to convert the query to a string. Return value string The prepared statement. Overrides Query::__toString File core/lib/Drupal/Core/Database/Query/Update.php, line 157 Class Update General class for an abstracted UPDATE operation. Namespace Drupal\Core\Database\Query Code public function __toString() { // Create a sanitized comment string to prepend to the query. $comments = $this->connection->makeComment($th

UpdateBuildIdCommand

AJAX command for updating the value of a hidden form_build_id input element on a form. It requires the form passed in to have keys for both the old build ID in #build_id_old and the new build ID in #build_id. The primary use case for this Ajax command is to serve a new build ID to a form served from the cache to an anonymous user, preventing one anonymous user from accessing the form state of another anonymous user on Ajax enabled forms. This command is implemented by Drupal.AjaxCommands.protot

Update::__construct

public Update::__construct(Connection $connection, $table, array $options = array()) Constructs an Update query object. Parameters \Drupal\Core\Database\Connection $connection: A Connection object. string $table: Name of the table to associate with this query. array $options: Array of database options. Overrides Query::__construct File core/lib/Drupal/Core/Database/Query/Update.php, line 63 Class Update General class for an abstracted UPDATE operation. Namespace Drupal\Core\Database\Qu

Update::$fields

An array of fields that will be updated. Type: array File core/lib/Drupal/Core/Database/Query/Update.php, line 29 Class Update General class for an abstracted UPDATE operation. Namespace Drupal\Core\Database\Query Code protected $fields = array();