Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
MessengerTrait::setMessenger function core/lib/Drupal/Core/Messenger/MessengerTrait.php Sets the messenger.
MetadataBag class core/lib/Drupal/Core/Session/MetadataBag.php Provides a container for application specific session metadata.
MetadataBag.php file core/lib/Drupal/Core/Session/MetadataBag.php
MetadataBag::CSRF_TOKEN_SEED constant core/lib/Drupal/Core/Session/MetadataBag.php The key used to store the CSRF token seed in the session.
MetadataBag::getCsrfTokenSeed function core/lib/Drupal/Core/Session/MetadataBag.php Get the CSRF token seed.
MetadataBag::setCsrfTokenSeed function core/lib/Drupal/Core/Session/MetadataBag.php Set the CSRF token seed.
MetadataBag::stampNew function core/lib/Drupal/Core/Session/MetadataBag.php phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
MetadataBag::__construct function core/lib/Drupal/Core/Session/MetadataBag.php Constructs a new metadata bag instance.
MetadataBagTest class core/tests/Drupal/Tests/Core/Session/MetadataBagTest.php @coversDefaultClass \Drupal\Core\Session\MetadataBag[[api-linebreak]]
@group Session
MetadataBagTest.php file core/tests/Drupal/Tests/Core/Session/MetadataBagTest.php
MetadataBagTest::testStampNew function core/tests/Drupal/Tests/Core/Session/MetadataBagTest.php @covers ::stampNew[[api-linebreak]]
MetadataBubblingUrlGenerator class core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Decorator for the URL generator, which bubbles bubbleable URL metadata.
MetadataBubblingUrlGenerator.php file core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php
MetadataBubblingUrlGenerator::$renderer property core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php The renderer.
MetadataBubblingUrlGenerator::$urlGenerator property core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php The non-bubbling URL generator.
MetadataBubblingUrlGenerator::bubble function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Bubbles the bubbleable metadata to the current render context.
MetadataBubblingUrlGenerator::generate function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php
MetadataBubblingUrlGenerator::generateFromRoute function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Generates a URL or path for a specific route based on the given parameters.
MetadataBubblingUrlGenerator::getContext function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php
MetadataBubblingUrlGenerator::getPathFromRoute function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Gets the internal path (system path) for a route.
MetadataBubblingUrlGenerator::getRouteDebugMessage function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Gets either the route name or a string based on the route object.
MetadataBubblingUrlGenerator::setContext function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
MetadataBubblingUrlGenerator::supports function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Checks if route name is a string or route object.
MetadataBubblingUrlGenerator::__construct function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Constructs a new bubbling URL generator service.
MetadataBubblingUrlGeneratorTest class core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php Confirm that the MetadataBubblingUrlGenerator is functioning properly.
MetadataBubblingUrlGeneratorTest.php file core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php
MetadataBubblingUrlGeneratorTest::$renderer property core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php The renderer.
MetadataBubblingUrlGeneratorTest::providerUrlBubbleableMetadataBubbling function core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php Data provider for ::testUrlBubbleableMetadataBubbling().
MetadataBubblingUrlGeneratorTest::setUp function core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php
MetadataBubblingUrlGeneratorTest::testUrlBubbleableMetadataBubbling function core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php Tests bubbling of cacheable metadata for URLs.
MetapackageUpdateTest class core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php Test to see if the metapackages are up-to-date with the root composer.lock.
MetapackageUpdateTest.php file core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php
MetapackageUpdateTest::testUpdated function core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php Tests to see if the generated metapackages are in sync with composer.lock.
MetapackageUpdateTest::updatedTestData function core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php Provides test data for testUpdated.
MethodFilter class core/lib/Drupal/Core/Routing/MethodFilter.php Filters routes based on the HTTP method.
MethodFilter.php file core/lib/Drupal/Core/Routing/MethodFilter.php
MethodFilter::filter function core/lib/Drupal/Core/Routing/MethodFilter.php Filters the route collection against a request.
MethodFilterTest class core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @coversDefaultClass \Drupal\Core\Routing\MethodFilter[[api-linebreak]]
@group Routing
MethodFilterTest.php file core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php
MethodFilterTest::testCollectionOrder function core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php Ensures that the incoming and outgoing collections have the same order.
MethodFilterTest::testFilteredMethods function core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @covers ::filter[[api-linebreak]]
MethodFilterTest::testMethodNotAllowedException function core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @covers ::filter[[api-linebreak]]
MethodFilterTest::testMethodNotAllowedExceptionWithMultipleRoutes function core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @covers ::filter[[api-linebreak]]
MethodFilterTest::testWithAllowedMethod function core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @covers ::filter[[api-linebreak]]
MethodFilterTest::testWithAllowedMethodAndMultipleMatchingRoutes function core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @covers ::filter[[api-linebreak]]
MethodRequires class core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php
MethodRequires::externalCommandIsAvailable function core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php Determine if an external command is available.
MethodRequires::testRequiresAvailable function core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php @requires externalCommand available_command
MethodRequires::testRequiresUnavailable function core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php @requires externalCommand unavailable_command
method_filter service core/core.services.yml Drupal\Core\Routing\MethodFilter

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