function hook_view_mode_page_post_view in View Mode Page 8
Same name and namespace in other branches
- 8.2 view_mode_page.api.php \hook_view_mode_page_post_view()
- 7.2 view_mode_page.api.php \hook_view_mode_page_post_view()
- 7 view_mode_page.api.php \hook_view_mode_page_post_view()
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
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_view_mode in ./
view_mode_page.module - Render the node with the given view mode.
File
- ./
view_mode_page.api.php, line 40
Code
function hook_view_mode_page_post_view($node, $view, $content_type, $view_mode, $pattern) {
return $view;
}