function testmodule_install in Coder 8.3.x
Same name and namespace in other branches
- 8.3 tests/DrupalPractice/FunctionCalls/DbQueryUnitTest.inc \testmodule_install()
- 8.2 coder_sniffer/DrupalPractice/Test/FunctionCalls/DbQueryUnitTest.inc \testmodule_install()
Implements hook_install().
File
- tests/
DrupalPractice/ FunctionCalls/ DbQueryUnitTest.inc, line 10
Code
function testmodule_install() {
db_query("\n UPDATE {system}\n SET weight = 20\n WHERE type = 'module' AND\n name = 'node'");
}