module_autoload_test.module

Same filename in other branches
  1. 9 core/modules/system/tests/modules/module_autoload_test/module_autoload_test.module
  2. 8.9.x core/modules/system/tests/modules/module_autoload_test/module_autoload_test.module
  3. 11.x core/modules/system/tests/modules/module_autoload_test/module_autoload_test.module

Test module.

File

core/modules/system/tests/modules/module_autoload_test/module_autoload_test.module

View source
<?php


/**
 * @file
 * Test module.
 */
use Drupal\module_autoload_test\SomeClass;
define('MODULE_AUTOLOAD_TEST_CONSTANT', SomeClass::TEST);

Constants

Title Deprecated Summary
MODULE_AUTOLOAD_TEST_CONSTANT

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.