GlobalDefineUnitTest.module in Coder 8.2
File
coder_sniffer/DrupalPractice/Test/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. |