GlobalDefineUnitTest.module in Coder 8.3
Same filename and directory in other branches
File
tests/DrupalPractice/Constants/GlobalDefineUnitTest.moduleView source
<?php
define('MYMODULE_FOO', 1);
/**
* Some comment.
*/
define('MYMODULE_FOO2', 2);
/**
* This should not throw a warning because the constant is deprecated.
*
* @deprecated in Drupal 8.1.x.
*/
define('MYMODULE_FOO3', 3);
Constants
Name | Description |
---|---|
MYMODULE_FOO | |
MYMODULE_FOO2 | Some comment. |
MYMODULE_FOO3 Deprecated | This should not throw a warning because the constant is deprecated. |