function hook_view_mode_page_post_view in View Mode Page 7.2
Same name and namespace in other branches
- 8 view_mode_page.api.php \hook_view_mode_page_post_view()
- 8.2 view_mode_page.api.php \hook_view_mode_page_post_view()
- 7 view_mode_page.api.php \hook_view_mode_page_post_view()
DEPRECATED: Hook called with the resulting view from node_view
Parameters
object $node: The node that was used for node_view
array $view: The view that was returned from node_view
string $content_type: The content type used by view_mode_page
string $view_mode: The view mode triggered by view_mode_page
string $pattern: The URL pattern that was triggered
Return value
array The view
See also
hook_view_mode_page_post_entity_view
1 function implements hook_view_mode_page_post_view()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
1 invocation of hook_view_mode_page_post_view()
- view_mode_page_change_entity_view_mode in ./
view_mode_page.module - Render the entity with the given view mode
File
- ./
view_mode_page.api.php, line 149
Code
function hook_view_mode_page_post_view($node, $view, $content_type, $view_mode, $pattern) {
return $view;
}