You are here

protected function RequiredByRoleCommonWebTestCase::setFieldName in Required by role 7

Same name and namespace in other branches
  1. 7.2 tests/required_by_role_test/RequiredByRoleCommonWebTestCase.test \RequiredByRoleCommonWebTestCase::setFieldName()

Helper function to set the field name.

1 call to RequiredByRoleCommonWebTestCase::setFieldName()
RequiredByRoleCommonWebTestCase::setUp in tests/required_by_role_test/RequiredByRoleCommonWebTestCase.test
Setup method.

File

tests/required_by_role_test/RequiredByRoleCommonWebTestCase.test, line 62
Tests for the common cases.

Class

RequiredByRoleCommonWebTestCase
@file Tests for the common cases.

Code

protected function setFieldName($value) {
  $this->fieldName = $value . '_' . strtolower($this
    ->getFieldLabel());
}