Search for header

  1. Search 7.x for header
  2. Search 9.5.x for header
  3. Search 8.9.x for header
  4. Search 10.3.x for header
  5. Other projects
Title Object type File name Summary
ContentLengthTest::providerTestSetContentLengthHeader function core/tests/Drupal/Tests/Core/StackMiddleware/ContentLengthTest.php
ContentNegotiationTest::testBogusAcceptHeader function core/modules/system/tests/src/Functional/DrupalKernel/ContentNegotiationTest.php Verifies HTML responses for bogus Accept headers.
ContentTypeHeaderMatcher class core/lib/Drupal/Core/Routing/ContentTypeHeaderMatcher.php Filters routes based on the HTTP Content-type header.
ContentTypeHeaderMatcher.php file core/lib/Drupal/Core/Routing/ContentTypeHeaderMatcher.php
ContentTypeHeaderMatcher::filter function core/lib/Drupal/Core/Routing/ContentTypeHeaderMatcher.php Filters the route collection against a request.
ContentTypeHeaderMatcherTest class core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php Confirm that the content types partial matcher is functioning properly.
ContentTypeHeaderMatcherTest.php file core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php
ContentTypeHeaderMatcherTest::$fixtures property core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php A collection of shared fixture data for tests.
ContentTypeHeaderMatcherTest::$matcher property core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php The matcher object that is going to be tested.
ContentTypeHeaderMatcherTest::providerTestSafeRequestFilter function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php
ContentTypeHeaderMatcherTest::setUp function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php
ContentTypeHeaderMatcherTest::testContentTypeRequestHeaderMissing function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php Confirms that the matcher throws an exception for missing request header.
ContentTypeHeaderMatcherTest::testJsonRequest function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php Tests that XML-restricted routes get filtered out on JSON requests.
ContentTypeHeaderMatcherTest::testNoRouteFound function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php Confirms that the matcher throws an exception for no-route.
ContentTypeHeaderMatcherTest::testPostForm function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php Tests route filtering on POST form submission requests.
ContentTypeHeaderMatcherTest::testSafeRequestFilter function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php Tests that routes are not filtered on safe requests.
CsrfRequestHeaderAccessCheck class core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php Access protection against CSRF attacks.
CsrfRequestHeaderAccessCheck.php file core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php
CsrfRequestHeaderAccessCheck::$csrfToken property core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php The token generator.
CsrfRequestHeaderAccessCheck::$sessionConfiguration property core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php The session configuration.
CsrfRequestHeaderAccessCheck::access function core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php Checks access.
CsrfRequestHeaderAccessCheck::applies function core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php Declares whether the access check applies to a specific route or not.
CsrfRequestHeaderAccessCheck::TOKEN_KEY constant core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php A string key that will used to designate the token used by this class.
CsrfRequestHeaderAccessCheck::__construct function core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php Constructs a new rest CSRF access check.
CsrfRequestHeaderTest class core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php Tests protecting routes by requiring CSRF token in the request header.
CsrfRequestHeaderTest.php file core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php
CsrfRequestHeaderTest::$defaultTheme property core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php The theme to install as the default for testing.
CsrfRequestHeaderTest::$modules property core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php Modules to install.
CsrfRequestHeaderTest::testRouteAccess function core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php Tests access to routes protected by CSRF request header requirements.
DateFormatListBuilder::buildHeader function core/modules/system/src/DateFormatListBuilder.php Builds the header row for the entity listing.
DiffFormatter::$show_header property core/lib/Drupal/Component/Diff/DiffFormatter.php Should a block header be shown?
DiffFormatter::_block_header function core/lib/Drupal/Component/Diff/DiffFormatter.php
DiffFormatter::_block_header function core/lib/Drupal/Core/Diff/DiffFormatter.php
DraggableListBuilderTrait::buildHeader function core/lib/Drupal/Core/Entity/DraggableListBuilderTrait.php Builds the header row for the entity listing.
DynamicPageCacheSubscriber::HEADER constant core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php Name of Dynamic Page Cache's response header.
EntityDisplayFormBase::getTableHeader function core/modules/field_ui/src/Form/EntityDisplayFormBase.php Returns an array containing the table headers.
EntityDisplayModeListBuilder::buildHeader function core/modules/field_ui/src/EntityDisplayModeListBuilder.php Builds the header row for the entity listing.
EntityFormDisplayEditForm::getTableHeader function core/modules/field_ui/src/Form/EntityFormDisplayEditForm.php Returns an array containing the table headers.
EntityListBuilder::buildHeader function core/lib/Drupal/Core/Entity/EntityListBuilder.php Builds the header row for the entity listing.
EntityResource::addLinkHeaders function core/modules/rest/src/Plugin/rest/resource/EntityResource.php Adds link headers to a response.
EntityTestListBuilder::buildHeader function core/modules/system/tests/modules/entity_test/src/EntityTestListBuilder.php Builds the header row for the entity listing.
EntityViewDisplayEditForm::getTableHeader function core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php Returns an array containing the table headers.
Feed::setHeaders function core/modules/views/src/Plugin/views/display/Feed.php Sets headers on a response object.
FieldConfigListBuilder::buildHeader function core/modules/field_ui/src/FieldConfigListBuilder.php Builds the header row for the entity listing.
FieldStorageConfigListBuilder::buildHeader function core/modules/field_ui/src/FieldStorageConfigListBuilder.php Builds the header row for the entity listing.
FieldUiTestTrait::assertTableHeaderExistsByLabel function core/modules/field_ui/tests/src/Traits/FieldUiTestTrait.php Asserts that a header cell appears on a table.
FileUploadResourceTestBase::testPostFileUploadInvalidHeaders function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload POST route with invalid headers.
FileUploadTest::testPostFileUploadInvalidHeaders function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload POST route with invalid headers.
file_get_content_headers function core/modules/file/file.module Examines a file entity and returns appropriate content headers for download.
FilterFormatListBuilder::buildHeader function core/modules/filter/src/FilterFormatListBuilder.php Builds the header row for the entity listing.

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