Search for onResponse

  1. Search 7.x for onResponse
  2. Search 8.9.x for onResponse
  3. Search 10.3.x for onResponse
  4. Search 11.x for onResponse
  5. Other projects
Title Object type File name Summary
ActiveLinkResponseFilter::onResponse function core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php Sets the 'is-active' class on links.
AjaxResponseSubscriber::onResponse function core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php Renders the ajax commands right before preparing the result.
CacheableJsonResponse class core/lib/Drupal/Core/Cache/CacheableJsonResponse.php A JsonResponse that contains and can expose cacheability metadata.
CacheableJsonResponse.php file core/lib/Drupal/Core/Cache/CacheableJsonResponse.php
ExceptionHandlingTest::testExceptionResponseGeneratedForOriginalRequest function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests that the exception response is executed in the original context.
FormAjaxSubscriberTest::testOnExceptionResponseBuilderException function core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php @covers ::onException[[api-linebreak]]
RssResponseRelativeUrlFilter::onResponse function core/lib/Drupal/Core/EventSubscriber/RssResponseRelativeUrlFilter.php Converts relative URLs to absolute URLs.
RssResponseRelativeUrlFilterTest::providerTestOnResponse function core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php
RssResponseRelativeUrlFilterTest::testOnResponse function core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php @dataProvider providerTestOnResponse

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