You are here

public static function TestForm::something in Coder 8.2

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

File

coder_sniffer/DrupalPractice/Test/Objects/GlobalClassUnitTest.inc, line 11

Class

TestForm

Code

public static function something() {

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