function FFCTestCase::CoreTestFieldTypesLimit in Field formatter conditions 7
Tests whether a condition is limited to field type or not. It uses the test_condition that is defined in the ffc_test.module that only applies to the image field type.
1 call to FFCTestCase::CoreTestFieldTypesLimit()
- FFCTestCase::testVannillaCore in tests/
ffc.test - Test Vannilla Core.
File
- tests/
ffc.test, line 168 - Test file for Field formatter conditions.
Class
- FFCTestCase
- Group UI tests.
Code
function CoreTestFieldTypesLimit() {
$this
->ffcCheckFieldTypes('edit body', FALSE);
$this
->ffcCheckFieldTypes('edit field_image', TRUE);
}