hook_update_last_removed()
Return a number which is no longer available as hook_update_N().
If you remove some update functions from your mymodule.install file, you should notify Drupal of those missing functions. This way, Drupal can ensure that no update is accidentally skipped.
Implementations of this hook should be placed in a mymodule.install file in the same directory as mymodule.module.
An integer, corresponding to hook_update_N() which has been removed from mymodule.install.
function hook_update_last_removed() { // We've removed the 8.x-1.x version of mymodule, including database updates. // The next update function is mymodule_update_8200(). return 8103; }
© 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!Extension!module.api.php/function/hook_update_last_removed/8.1.x