You are here

function title_test_entity_prepare_view in Title 7

Implements hook_entity_prepare_view().

File

tests/title_test.module, line 130
Testing functionality for Title module.

Code

function title_test_entity_prepare_view($entities, $type, $langcode = NULL) {
  if ($type == 'test_entity') {
    title_test_phase_check('entity_prepare_view', current($entities));
  }
}