function UpdateRegistry::filterOutInvokedUpdatesByModule

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Update/UpdateRegistry.php \Drupal\Core\Update\UpdateRegistry::filterOutInvokedUpdatesByModule()

Filters out already executed update functions by module.

Parameters

string $module: The module name.

Deprecated

in drupal:9.4.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Update\UpdateRegistry::filterOutInvokedUpdatesByExtension() instead.

See also

https://www.drupal.org/node/3260162

File

core/lib/Drupal/Core/Update/UpdateRegistry.php, line 328

Class

UpdateRegistry
Provides all and missing update implementations.

Namespace

Drupal\Core\Update

Code

public function filterOutInvokedUpdatesByModule($module) {
    @trigger_error(__CLASS__ . '\\filterOutInvokedUpdatesByModule() is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Use \\Drupal\\Core\\Update\\UpdateRegistry::filterOutInvokedUpdatesByExtension() instead. See https://www.drupal.org/node/3260162', E_USER_DEPRECATED);
    $this->filterOutInvokedUpdatesByExtension($module);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.