function module_test_permission

Implements hook_permission().

1 string reference to 'module_test_permission'
ModuleImplementsAlterTestCase::testModuleImplementsAlter in modules/simpletest/tests/module.test
Tests hook_module_implements_alter() adding an implementation.

File

modules/simpletest/tests/module_test.module, line 6

Code

function module_test_permission() {
    return array(
        'module_test perm' => t('example perm for module_test module'),
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.