Done !
| Server IP : 194.181.228.65 / Your IP : 216.73.216.25 Web Server : LiteSpeed System : Linux wn13.webd.pl 5.14.0-687.46.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Sep 11 09:03:19 EDT 2026 x86_64 User : prusit ( 133039) PHP Version : 5.6.40 Disable Function : exec, system, shell_exec, passthru, proc_open, proc_close, popen MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/prusit/public_html/djriki/modules/simpletest/tests/ |
Upload File : |
<?php
/**
* @file
* Helper module for entity cache tests.
*/
/**
* Implements hook_watchdog().
*
* This hook is called during module_enable() and since this hook
* implementation is invoked, we have to expect that this module and dependent
* modules have been properly installed already. So we expect to be able to
* retrieve the entity information that has been registered by the required
* dependency module.
*
* @see EnableDisableTestCase::testEntityCache()
* @see entity_cache_test_dependency_entity_info()
*/
function entity_cache_test_watchdog($log_entry) {
if ($log_entry['type'] == 'system' && $log_entry['message'] == '%module module installed.') {
$info = entity_get_info('entity_cache_test');
// Store the information in a system variable to analyze it later in the
// test case.
variable_set('entity_cache_test', $info);
}
}