function FieldUIManageFieldsTestCase::setUp

Overrides FieldUITestCase::setUp

File

modules/field_ui/field_ui.test, line 151

Class

FieldUIManageFieldsTestCase
Tests the functionality of the 'Manage fields' screen.

Code

function setUp() {
    parent::setUp();
    // Create random field name.
    $this->field_label = $this->randomName(8);
    $this->field_name_input = strtolower($this->randomName(8));
    $this->field_name = 'field_' . $this->field_name_input;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.