protected function RequiredByRoleCommonWebTestCase::getFieldMachineName in Required by role 7.2
Same name and namespace in other branches
- 7 tests/required_by_role_test/RequiredByRoleCommonWebTestCase.test \RequiredByRoleCommonWebTestCase::getFieldMachineName()
Helper function to get the field machine name.
4 calls to RequiredByRoleCommonWebTestCase::getFieldMachineName()
- RequiredByRoleCommonWebTestCase::checkFieldRequiredProperty in tests/
required_by_role_test/ RequiredByRoleCommonWebTestCase.test - Helper function check the settings.
- RequiredByRoleCommonWebTestCase::createTextField in tests/
required_by_role_test/ RequiredByRoleCommonWebTestCase.test - Helper function to create an email field.
- RequiredByRoleCommonWebTestCase::DotestDefaultValueIsNotRequired in tests/
required_by_role_test/ RequiredByRoleCommonWebTestCase.test - Check if the default_value_widget is always NOT required.
- RequiredByRoleCommonWebTestCase::setFieldRequiredProperty in tests/
required_by_role_test/ RequiredByRoleCommonWebTestCase.test - Helper function to set the required property.
File
- tests/
required_by_role_test/ RequiredByRoleCommonWebTestCase.test, line 89 - Tests for the common cases.
Class
- RequiredByRoleCommonWebTestCase
- @file Tests for the common cases.
Code
protected function getFieldMachineName() {
return 'field_' . $this
->getFieldName();
}