Unverified Commit 6f4f16ae authored by Alex Pott's avatar Alex Pott
Browse files

docs: #3118569 Add an example of a semver contrib module number to the update...

docs: #3118569 Add an example of a semver contrib module number to the update hook example for hook_removed_post_updates()

By: xjm
By: dww
By: nexusnovaz
By: dcam
(cherry picked from commit 6a0b6613)
parent 31df5323
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -943,8 +943,9 @@ function hook_post_update_NAME(&$sandbox) {
function hook_removed_post_updates(): array {
  return [
    'my_module_post_update_foo' => '8.x-2.0',
    'my_module_post_update_bar' => '8.x-3.0',
    'my_module_post_update_baz' => '8.x-3.0',
    'my_module_post_update_bar' => '3.0.0',
    'my_module_post_update_baz' => '4.0.0',
    'my_module_post_update_qux' => '4.0.0',
  ];
}