entity_cache_test_dependency.module

Helper module for entity cache tests.

File

drupal/core/modules/system/tests/modules/entity_cache_test_dependency/entity_cache_test_dependency.module
View source
<?php

/**
 * @file
 * Helper module for entity cache tests.
 */

/**
 * Implements hook_entity_info_alter().
 */
function entity_cache_test_dependency_entity_info_alter(&$info) {
  $info['entity_cache_test']['label'] = state()
    ->get('entity_cache_test.label') ?: 'Entity Cache Test';
}

Functions