Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
DefaultExceptionHtmlSubscriber.php file core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php
DefaultExceptionHtmlSubscriber::$accessUnawareRouter property core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php A router implementation which does not check access.
DefaultExceptionHtmlSubscriber::$httpKernel property core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php The HTTP kernel.
DefaultExceptionHtmlSubscriber::$logger property core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php The logger instance.
DefaultExceptionHtmlSubscriber::$redirectDestination property core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php The redirect destination service.
DefaultExceptionHtmlSubscriber::getHandledFormats function core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php Specifies the request formats this subscriber will respond to.
DefaultExceptionHtmlSubscriber::getPriority function core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php Specifies the priority of all listeners in this class.
DefaultExceptionHtmlSubscriber::makeSubrequest function core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php Makes a subrequest to retrieve the default error page.
DefaultExceptionHtmlSubscriber::on401 function core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php Handles a 401 error for HTML.
DefaultExceptionHtmlSubscriber::on403 function core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php Handles a 403 error for HTML.
DefaultExceptionHtmlSubscriber::on404 function core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php Handles a 404 error for HTML.
DefaultExceptionHtmlSubscriber::on4xx function core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php Handles a 4xx error for HTML.
DefaultExceptionHtmlSubscriber::__construct function core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php Constructs a new DefaultExceptionHtmlSubscriber.
DefaultExceptionSubscriber class core/modules/jsonapi/src/EventSubscriber/DefaultExceptionSubscriber.php Serializes exceptions in compliance with the JSON:API specification.
DefaultExceptionSubscriber class core/modules/serialization/src/EventSubscriber/DefaultExceptionSubscriber.php Handles default error responses in serialization formats.
DefaultExceptionSubscriber.php file core/modules/serialization/src/EventSubscriber/DefaultExceptionSubscriber.php
DefaultExceptionSubscriber.php file core/modules/jsonapi/src/EventSubscriber/DefaultExceptionSubscriber.php
DefaultExceptionSubscriber::$serializer property core/modules/serialization/src/EventSubscriber/DefaultExceptionSubscriber.php The serializer.
DefaultExceptionSubscriber::$serializerFormats property core/modules/serialization/src/EventSubscriber/DefaultExceptionSubscriber.php The available serialization formats.
DefaultExceptionSubscriber::getHandledFormats function core/modules/serialization/src/EventSubscriber/DefaultExceptionSubscriber.php Specifies the request formats this subscriber will respond to.
DefaultExceptionSubscriber::getHandledFormats function core/modules/jsonapi/src/EventSubscriber/DefaultExceptionSubscriber.php Specifies the request formats this subscriber will respond to.
DefaultExceptionSubscriber::getPriority function core/modules/jsonapi/src/EventSubscriber/DefaultExceptionSubscriber.php Specifies the priority of all listeners in this class.
DefaultExceptionSubscriber::getPriority function core/modules/serialization/src/EventSubscriber/DefaultExceptionSubscriber.php Specifies the priority of all listeners in this class.
DefaultExceptionSubscriber::isJsonApiExceptionEvent function core/modules/jsonapi/src/EventSubscriber/DefaultExceptionSubscriber.php Check if the error should be formatted using JSON:API.
DefaultExceptionSubscriber::on4xx function core/modules/serialization/src/EventSubscriber/DefaultExceptionSubscriber.php Handles all 4xx errors for all serialization failures.
DefaultExceptionSubscriber::onException function core/modules/jsonapi/src/EventSubscriber/DefaultExceptionSubscriber.php Handles errors for this subscriber.
DefaultExceptionSubscriber::setEventResponse function core/modules/jsonapi/src/EventSubscriber/DefaultExceptionSubscriber.php
DefaultExceptionSubscriber::__construct function core/modules/serialization/src/EventSubscriber/DefaultExceptionSubscriber.php DefaultExceptionSubscriber constructor.
DefaultExceptionSubscriberTest class core/modules/serialization/tests/src/Unit/EventSubscriber/DefaultExceptionSubscriberTest.php @coversDefaultClass \Drupal\serialization\EventSubscriber\DefaultExceptionSubscriber[[api-linebreak]]
@group serialization
DefaultExceptionSubscriberTest.php file core/modules/serialization/tests/src/Unit/EventSubscriber/DefaultExceptionSubscriberTest.php
DefaultExceptionSubscriberTest::testOn4xx function core/modules/serialization/tests/src/Unit/EventSubscriber/DefaultExceptionSubscriberTest.php @covers ::on4xx[[api-linebreak]]
DefaultFactory class core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php Default plugin factory.
DefaultFactory.php file core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php
DefaultFactory::$discovery property core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php The object that retrieves the definitions of the plugins that this factory instantiates.
DefaultFactory::$interface property core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php Defines an interface each plugin should implement.
DefaultFactory::createInstance function core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php Creates a pre-configured instance of a plugin.
DefaultFactory::getPluginClass function core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php Finds the class relevant for a given plugin.
DefaultFactory::__construct function core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php Constructs a Drupal\Component\Plugin\Factory\DefaultFactory object.
DefaultFactoryTest class core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php @coversDefaultClass \Drupal\Component\Plugin\Factory\DefaultFactory[[api-linebreak]]
@group Plugin
DefaultFactoryTest.php file core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface but no implementation.
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface but no implementation.
DefaultFactoryTest::testGetPluginClassWithInterfaceWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface.
DefaultFactoryTest::testGetPluginClassWithInterfaceWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface.
DefaultFactoryTest::testGetPluginClassWithMissingClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a missing class definition.
DefaultFactoryTest::testGetPluginClassWithMissingClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a missing class definition.
DefaultFactoryTest::testGetPluginClassWithNotExistingClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a not existing class definition.
DefaultFactoryTest::testGetPluginClassWithNotExistingClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a not existing class definition.
DefaultFactoryTest::testGetPluginClassWithValidArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a valid array plugin definition.
DefaultFactoryTest::testGetPluginClassWithValidObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a valid object plugin definition.

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