function ListFieldUITestCase::testDynamicListAllowedValuesText
List (text) : test 'allowed values function' input.
File
-
modules/
field/ modules/ list/ tests/ list.test, line 427
Class
- ListFieldUITestCase
- List module UI tests.
Code
function testDynamicListAllowedValuesText() {
$this->field_name = 'field_list_text';
$this->createListField('list_text', array(
'allowed_values_function' => 'list_test_dynamic_values_callback',
'allowed_values' => '',
));
$this->drupalGet($this->admin_path);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.