DefaultExceptionHtmlSubscriber::getPriority

protected static DefaultExceptionHtmlSubscriber::getPriority() Specifies the priority of all listeners in this class. The default priority is 1, which is very low. To have listeners that have a "first attempt" at handling exceptions return a higher priority. Return value int The event priority of this subscriber. Overrides HttpExceptionSubscriberBase::getPriority File core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php, line 69 Class DefaultExceptionHtmlSubscriber Exce

DefaultExceptionHtmlSubscriber::getHandledFormats

protected DefaultExceptionHtmlSubscriber::getHandledFormats() Specifies the request formats this subscriber will respond to. Return value array An indexed array of the format machine names that this subscriber will attempt to process, such as "html" or "json". Returning an empty array will apply to all formats. Overrides HttpExceptionSubscriberBase::getHandledFormats See also \Symfony\Component\HttpFoundation\Request File core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php

DefaultExceptionHtmlSubscriber::$redirectDestination

The redirect destination service. Type: \Drupal\Core\Routing\RedirectDestinationInterface File core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php, line 38 Class DefaultExceptionHtmlSubscriber Exception subscriber for handling core default HTML error pages. Namespace Drupal\Core\EventSubscriber Code protected $redirectDestination;

DefaultExceptionHtmlSubscriber::$logger

The logger instance. Type: \Psr\Log\LoggerInterface File core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php, line 31 Class DefaultExceptionHtmlSubscriber Exception subscriber for handling core default HTML error pages. Namespace Drupal\Core\EventSubscriber Code protected $logger;

DefaultExceptionHtmlSubscriber::$httpKernel

The HTTP kernel. Type: \Symfony\Component\HttpKernel\HttpKernelInterface File core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php, line 24 Class DefaultExceptionHtmlSubscriber Exception subscriber for handling core default HTML error pages. Namespace Drupal\Core\EventSubscriber Code protected $httpKernel;

DefaultExceptionHtmlSubscriber::$accessUnawareRouter

A router implementation which does not check access. Type: \Symfony\Component\Routing\Matcher\UrlMatcherInterface File core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php, line 45 Class DefaultExceptionHtmlSubscriber Exception subscriber for handling core default HTML error pages. Namespace Drupal\Core\EventSubscriber Code protected $accessUnawareRouter;

DefaultExceptionHtmlSubscriber

Exception subscriber for handling core default HTML error pages. Hierarchy class \Drupal\Core\EventSubscriber\HttpExceptionSubscriberBase implements EventSubscriberInterfaceclass \Drupal\Core\EventSubscriber\DefaultExceptionHtmlSubscriber File core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php, line 17 Namespace Drupal\Core\EventSubscriber Members Name Modifiers Type Description DefaultExceptionHtmlSubscriber::$accessUnawareRouter protected property

debug

debug($data, $label = NULL, $print_r = TRUE) Outputs debug information. The debug information is passed on to trigger_error() after being converted to a string using _drupal_debug_message(). Parameters $data: Data to be output. $label: Label to prefix the data. $print_r: Flag to switch between print_r() and var_export() for data conversion to string. Set $print_r to FALSE to use var_export() instead of print_r(). Passing recursive data structures to var_export() will generate an error. File co

db_xor

db_xor() Returns a new DatabaseCondition, set to "XOR" all conditions together. Return value \Drupal\Core\Database\Query\Condition A new Condition object, set to "XOR" all conditions together. Deprecated as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Create a \Drupal\Core\Database\Query\Condition object, specifying an XOR conjunction: new Condition('XOR'); See also \Drupal\Core\Database\Query\Condition Related topics Database abstraction layer Allow the use of different database serv

db_update

db_update($table, array $options = array()) Returns a new UpdateQuery object for the active database. Parameters string $table: The table to update. array $options: An array of options to control how the query operates. Return value \Drupal\Core\Database\Query\Update A new Update object for this connection. Deprecated as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container and call update() on it. For example, $in