public static function TestForm::something in Coder 8.3
Same name and namespace in other branches
- 8.2 coder_sniffer/DrupalPractice/Test/Objects/GlobalClassUnitTest.inc \TestForm::something()
- 8.3.x tests/DrupalPractice/Objects/GlobalClassUnitTest.inc \TestForm::something()
File
- tests/
DrupalPractice/ Objects/ GlobalClassUnitTest.inc, line 12
Class
Code
public static function something() {
// Global classes are allowed in static methods.
return NodeType::load('article');
}