protected function EntityTranslationHookTestCase::getHookInfo in Entity Translation 7
Retrieve the information stored by hook implementations.
2 calls to EntityTranslationHookTestCase::getHookInfo()
- EntityTranslationHookTestCase::testAPI in tests/
entity_translation.test  - Test whether hooks are properly fired when using the API.
 - EntityTranslationHookTestCase::testFormWorkflow in tests/
entity_translation.test  - Test whether hooks are properly fired in the regular form workflow.
 
File
- tests/
entity_translation.test, line 592  - Tests for Entity translation module.
 
Class
- EntityTranslationHookTestCase
 - Test CRUD hook invocation.
 
Code
protected function getHookInfo($op = 'save') {
  $name = 'entity_translation_test_' . $op;
  $info = variable_get($name);
  variable_del($name);
  return $info;
}