Search for header

  1. Search 7.x for header
  2. Search 9.5.x for header
  3. Search 10.3.x for header
  4. Search 11.x for header
  5. Other projects
Title Object type File name Summary
AssertPageCacheContextsAndTagsTrait::getCacheHeaderValues function core/modules/system/src/Tests/Cache/AssertPageCacheContextsAndTagsTrait.php Gets a specific header value as array.
BasicAuthTestTrait::getBasicAuthHeaders function core/modules/basic_auth/src/Tests/BasicAuthTestTrait.php Returns HTTP headers that can be used for basic authentication in Curl.
BrowserTestBaseLegacyTest::testDrupalGetHeaders function core/tests/Drupal/FunctionalTests/BrowserTestBaseLegacyTest.php Test ::drupalGetHeaders().
PageCacheTagsTestBase::$dumpHeaders property core/modules/system/src/Tests/Cache/PageCacheTagsTestBase.php Always enable header dumping in page cache tags tests, this aids debugging.
RendererLegacyTest::testHeaderAttributes function core/tests/Drupal/KernelTests/Core/Render/RendererLegacyTest.php Tests deprecation of the drupal_http_header_attributes() function.
RESTTestBase::drupalGetHeader function core/modules/rest/src/Tests/RESTTestBase.php Gets the value of an HTTP response header.
RESTTestBase::drupalGetHeaders function core/modules/rest/src/Tests/RESTTestBase.php Gets the HTTP response headers of the requested page.
RESTTestBase::loadEntityFromLocationHeader function core/modules/rest/src/Tests/RESTTestBase.php Loads an entity based on the location URL returned in the location header.
TableSortLegacyTest::testHeader function core/tests/Drupal/KernelTests/Core/Theme/TableSortLegacyTest.php Tests deprecation of the tablesort_header() function.
tablesort_header function core/includes/tablesort.inc Formats a column header.
WebTestBase::$assertAjaxHeader property core/modules/simpletest/src/WebTestBase.php Whether or not to assert the presence of the X-Drupal-Ajax-Token.
WebTestBase::$dumpHeaders property core/modules/simpletest/src/WebTestBase.php Indicates that headers should be dumped if verbose output is enabled.
WebTestBase::$headers property core/modules/simpletest/src/WebTestBase.php The headers of the page currently loaded in the internal browser.
WebTestBase::assertHeader function core/modules/simpletest/src/WebTestBase.php Check if a HTTP response header exists and has the expected value.
WebTestBase::curlHeaderCallback function core/modules/simpletest/src/WebTestBase.php Reads headers and registers errors received from the tested site.
WebTestBase::drupalGetHeader function core/modules/simpletest/src/WebTestBase.php Gets the value of an HTTP response header.
WebTestBase::drupalGetHeaders function core/modules/simpletest/src/WebTestBase.php Gets the HTTP response headers of the requested page.
WebTestBase::setHttpResponseDebugCacheabilityHeaders function core/modules/simpletest/src/WebTestBase.php Enables/disables the cacheability headers.

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