function FieldUIAlterTestCase::setUp
Overrides DrupalWebTestCase::setUp
File
-
modules/
field_ui/ field_ui.test, line 700
Class
- FieldUIAlterTestCase
- Tests custom widget hooks and callbacks on the field administration pages.
Code
function setUp() {
parent::setUp(array(
'field_test',
));
// Create test user.
$admin_user = $this->drupalCreateUser(array(
'access content',
'administer content types',
'administer users',
'administer fields',
));
$this->drupalLogin($admin_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.