You are here

function hook_view_mode_page_get_entity_types in View Mode Page 7.2

Same name and namespace in other branches
  1. 8.2 view_mode_page.api.php \hook_view_mode_page_get_entity_types()

Hook called when getting the list of entity types this is enabled for

Parameters

array $types: Array of entity types

Return value

array Array of entity types

1 function implements hook_view_mode_page_get_entity_types()

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_get_entity_types in ./view_mode_page.module
Implements hook_get_entity_types().
1 invocation of hook_view_mode_page_get_entity_types()
view_mode_page_get_entity_types in ./view_mode_page.module
Returns all the entity types that exist for VMP

File

./view_mode_page.api.php, line 12

Code

function hook_view_mode_page_get_entity_types($types) {
  return $types;
}