You are here

function skinr_test_entity_load in Skinr 8.2

Implements hook_entity_load().

File

tests/modules/skinr_test/skinr_test.module, line 160
Skinr testing module.

Code

function skinr_test_entity_load(array $entities, $entity_type_id) {
  if ($entity_type_id !== 'skin') {
    return;
  }
  $_SESSION['skinr_test'][] = __FUNCTION__ . ' called';
}