function social_book_update_dependencies in Open Social 10.3.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_book/social_book.install \social_book_update_dependencies()
- 8.8 modules/social_features/social_book/social_book.install \social_book_update_dependencies()
- 10.0.x modules/social_features/social_book/social_book.install \social_book_update_dependencies()
- 10.1.x modules/social_features/social_book/social_book.install \social_book_update_dependencies()
- 10.2.x modules/social_features/social_book/social_book.install \social_book_update_dependencies()
Implements hook_update_dependencies().
File
- modules/
social_features/ social_book/ social_book.install, line 28 - Install, update and uninstall functions for the social_book module.
Code
function social_book_update_dependencies() {
// Run the config update after the final features removal ran.
$dependencies['social_book'][8801] = [
'social_core' => 8802,
];
// Ensure update helper dependant hooks run after update helper
// is enabled.
$dependencies['social_book'][8802] = [
'social_core' => 8805,
];
return $dependencies;
}