You are here

protected function GenericFieldTest::getModule in Examples for Developers 7

The module to enable.

Return value

string Module machine name.

1 call to GenericFieldTest::getModule()
GenericFieldTest::runTestGenericFieldInfo in field_permission_example/tests/field_permission_example.test
Verify that all required fields are specified in hook_field_info().
1 method overrides GenericFieldTest::getModule()
FieldTestPermissionsExample::getModule in field_permission_example/tests/field_permission_example.test
The module to enable.

File

field_permission_example/tests/field_permission_example.test, line 61
Tests for Field Permission Example.

Class

GenericFieldTest
A generic field testing class.

Code

protected function getModule() {
  return 'this-is-not-a-module-name-please-override';
}