function hook_social_core_node_default_title_route 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_node_default_title_route()
- 10.0.x modules/social_features/social_core/social_core.api.php \hook_social_core_node_default_title_route()
- 10.1.x modules/social_features/social_core/social_core.api.php \hook_social_core_node_default_title_route()
Provides route for node page where should be displayed simple title.
Return value
string The route name.
See also
\Drupal\social_core\Plugin\Block\SocialPageTitleBlock::build()
1 function implements hook_social_core_node_default_title_route()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- social_album_social_core_node_default_title_route in modules/
social_features/ social_album/ social_album.module - Implements hook_social_core_node_default_title_route().
1 invocation of hook_social_core_node_default_title_route()
- SocialPageTitleBlock::build in modules/
social_features/ social_core/ src/ Plugin/ Block/ SocialPageTitleBlock.php - Builds and returns the renderable array for this block plugin.
File
- modules/
social_features/ social_core/ social_core.api.php, line 47 - Hooks provided by the Social core module.
Code
function hook_social_core_node_default_title_route() {
return 'entity.node.edit_form';
}