function FileManagedFileElementTestCase::setUp
Overrides FileFieldTestCase::setUp
File
-
modules/
file/ tests/ file.test, line 386
Class
- FileManagedFileElementTestCase
- Tests the 'managed_file' element type.
Code
public function setUp() {
parent::setUp();
// Disable the displaying of errors, so that the AJAX responses are not
// contaminated with error messages about exceeding the maximum POST size.
$this->originalDisplayErrorsValue = ini_set('display_errors', '0');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.