hook_civicrm_tabs() is deprecated; this fixes it by switching to the non-deprecated hook.
See https://github.com/civicrm/civicrm-core/pull/18503