protected function DefaultExceptionSubscriber::getErrorLevel
protected DefaultExceptionSubscriber::getErrorLevel()
Gets the configured error level.
Return value
string
File
- core/lib/Drupal/Core/EventSubscriber/DefaultExceptionSubscriber.php, line 55
Class
- DefaultExceptionSubscriber
- Last-chance handler for exceptions.
Namespace
Drupal\Core\EventSubscriberCode
protected function getErrorLevel() { if (!isset($this->errorLevel)) { $this->errorLevel = $this->configFactory->get('system.logging')->get('error_level'); } return $this->errorLevel; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!EventSubscriber!DefaultExceptionSubscriber.php/function/DefaultExceptionSubscriber::getErrorLevel/8.1.x