function SystemValidTokenTest::errorHandler

Overrides DrupalTestCase::errorHandler().

Overrides DrupalTestCase::errorHandler

File

modules/system/system.test, line 3110

Class

SystemValidTokenTest
Test case for drupal_valid_token().

Code

public function errorHandler($severity, $message, $file = NULL, $line = NULL) {
    if ($this->assertErrors) {
        return parent::errorHandler($severity, $message, $file, $line);
    }
    return TRUE;
}

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