You are here

public static function TestForm::something in Coder 8.3

Same name and namespace in other branches
  1. 8.2 coder_sniffer/DrupalPractice/Test/Objects/GlobalClassUnitTest.inc \TestForm::something()
  2. 8.3.x tests/DrupalPractice/Objects/GlobalClassUnitTest.inc \TestForm::something()

File

tests/DrupalPractice/Objects/GlobalClassUnitTest.inc, line 12

Class

TestForm

Code

public static function something() {

  // Global classes are allowed in static methods.
  return NodeType::load('article');
}