function social_book_social_core_compatible_content_forms_alter in Open Social 10.2.x
Same name and namespace in other branches
- 10.3.x modules/social_features/social_book/social_book.module \social_book_social_core_compatible_content_forms_alter()
- 10.0.x modules/social_features/social_book/social_book.module \social_book_social_core_compatible_content_forms_alter()
- 10.1.x modules/social_features/social_book/social_book.module \social_book_social_core_compatible_content_forms_alter()
Implements hook_social_core_compatible_content_forms_alter().
File
- modules/
social_features/ social_book/ social_book.module, line 52 - The Social book module.
Code
function social_book_social_core_compatible_content_forms_alter(&$compatible_content_type_forms) {
$compatible_content_type_forms[] = 'node_book_form';
$compatible_content_type_forms[] = 'node_book_edit_form';
}