You are here

GlobalDefineUnitTest.module in Coder 8.3

Same filename and directory in other branches
  1. 8.3.x tests/DrupalPractice/Constants/GlobalDefineUnitTest.module

File

tests/DrupalPractice/Constants/GlobalDefineUnitTest.module
View 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

Namesort descending Description
MYMODULE_FOO
MYMODULE_FOO2 Some comment.
MYMODULE_FOO3 Deprecated This should not throw a warning because the constant is deprecated.