function hook_social_core_compatible_content_forms in Open Social 10.2.x
Same name and namespace in other branches
- 10.3.x modules/social_features/social_core/social_core.api.php \hook_social_core_compatible_content_forms()
- 10.0.x modules/social_features/social_core/social_core.api.php \hook_social_core_compatible_content_forms()
- 10.1.x modules/social_features/social_core/social_core.api.php \hook_social_core_compatible_content_forms()
Provide method to allows extensions to use the new content style on a node.
Parameters
array $compatible_content_type_forms: Array of the nodes.
See also
social_core_form_node_form_alter()
File
- modules/
social_features/ social_core/ social_core.api.php, line 120 - Hooks provided by the Social core module.
Code
function hook_social_core_compatible_content_forms(array &$compatible_content_type_forms) {
$compatible_content_type_forms[] = 'node_landing_page_form';
}