You are here

function hook_view_mode_page_pattern_added in View Mode Page 7

Same name and namespace in other branches
  1. 8 view_mode_page.api.php \hook_view_mode_page_pattern_added()
  2. 8.2 view_mode_page.api.php \hook_view_mode_page_pattern_added()
  3. 7.2 view_mode_page.api.php \hook_view_mode_page_pattern_added()

Hook called with a pattern is added via view_mode_page

Parameters

string $content_type The content type for the pattern:

string $view_mode The view mode for the pattern:

string $pattern The URL pattern:

string $result The DB result for the pattern addition:

See also

view_mode_page_add_pattern

1 function implements hook_view_mode_page_pattern_added()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

view_mode_page_view_mode_page_pattern_added in ./view_mode_page.module
Implements hook_view_mode_page_pattern_added().
1 invocation of hook_view_mode_page_pattern_added()
view_mode_page_add_pattern in ./view_mode_page.module
Add a URL pattern to the database.

File

./view_mode_page.api.php, line 53

Code

function hook_view_mode_page_pattern_added($content_type, $view_mode, $pattern, $result) {
}