Add hook_update_1000(): This is the required update to run with Backdrop core API 1.x when upgrading from Drupal core API 7.x.
When upgrading a module, all previous updates should be deleted. If a module has updates numbered 6xxx or 7xxx, be sure to remove all these updates.
When removing these updates, you should provide an implementation of hook_update_last_removed() to indicate which version of the module schema you're expecting when an upgrade is performed:
Info https://api.backdropcms.org/converting-modules-from-drupal
Add
hook_update_1000()
: This is the required update to run with Backdrop core API 1.x when upgrading from Drupal core API 7.x.When upgrading a module, all previous updates should be deleted. If a module has updates numbered 6xxx or 7xxx, be sure to remove all these updates.
When removing these updates, you should provide an implementation of
hook_update_last_removed()
to indicate which version of the module schema you're expecting when an upgrade is performed: