Search for setResponse

  1. Search 7.x for setResponse
  2. Search 9.5.x for setResponse
  3. Search 8.9.x for setResponse
  4. Search 10.3.x for setResponse
  5. Other projects
Title Object type File name Summary
FinishResponseSubscriber::setResponseCacheable function core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php Add Cache-Control and Expires headers to a cacheable response.
FinishResponseSubscriber::setResponseNotCacheable function core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php Add Cache-Control and Expires headers to a response which is not cacheable.
FormState::setResponse function core/lib/Drupal/Core/Form/FormState.php
FormStateDecoratorBase::setResponse function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
FormStateDecoratorBaseTest::testSetResponse function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setResponse
FormStateInterface::setResponse function core/lib/Drupal/Core/Form/FormStateInterface.php Sets a response for this form.
ViewExecutable::setResponse function core/modules/views/src/ViewExecutable.php Sets the used response object of the view.

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