public function UpdateRegistry::registerInvokedUpdates
public UpdateRegistry::registerInvokedUpdates(array $function_names)
Registers that update fucntions got executed.
Parameters
string[] $function_names: The executed update functions.
Return value
$this
File
- core/lib/Drupal/Core/Update/UpdateRegistry.php, line 207
Class
- UpdateRegistry
- Provides all and missing update implementations.
Namespace
Drupal\Core\UpdateCode
public function registerInvokedUpdates(array $function_names) { $executed_updates = $this->keyValue->get('existing_updates', []); $executed_updates = array_merge($executed_updates, $function_names); $this->keyValue->set('existing_updates', $executed_updates); return $this; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Update!UpdateRegistry.php/function/UpdateRegistry::registerInvokedUpdates/8.1.x