public function SystemValidTokenTest::errorHandler

7.x system.test public SystemValidTokenTest::errorHandler($severity, $message, $file = NULL, $line = NULL)

Overrides DrupalTestCase::errorHandler().

Overrides DrupalTestCase::errorHandler

File

drupal-7.x/modules/system/system.test, line 2755
Tests for system.module.

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;
}