function hook_view_mode_page_get_patterns in View Mode Page 8.2
Same name and namespace in other branches
- 8 view_mode_page.api.php \hook_view_mode_page_get_patterns()
- 7.2 view_mode_page.api.php \hook_view_mode_page_get_patterns()
- 7 view_mode_page.api.php \hook_view_mode_page_get_patterns()
DEPRECATED: Hook called when the results of the get_patterns call is made.
This could be used to inject/change results before they are returned.
Parameters
array $results: DB results of the view_mode_page_get_patterns()
string $content_type: Content type passed to view_mode_page_get_patterns()
string $view_mode: View mode passed to view_mode_page_get_patterns()
Return value
array Results array
See also
view_mode_page_get_patterns
hook_view_mode_page_get_entity_patterns
1 function implements hook_view_mode_page_get_patterns()
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_get_patterns()
- view_mode_page_get_entity_patterns in ./
view_mode_page.module - Get URL patterns.
File
- ./
view_mode_page.api.php, line 57
Code
function hook_view_mode_page_get_patterns($results, $content_type, $view_mode) {
return $results;
}