Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
MessengerInterface::deleteAll function core/lib/Drupal/Core/Messenger/MessengerInterface.php Deletes all messages.
MessengerInterface::deleteByType function core/lib/Drupal/Core/Messenger/MessengerInterface.php Deletes all messages of a certain type.
MessengerInterface::messagesByType function core/lib/Drupal/Core/Messenger/MessengerInterface.php Gets all messages of a certain type.
MessengerInterface::TYPE_ERROR constant core/lib/Drupal/Core/Messenger/MessengerInterface.php An error.
MessengerInterface::TYPE_STATUS constant core/lib/Drupal/Core/Messenger/MessengerInterface.php A status message.
MessengerInterface::TYPE_WARNING constant core/lib/Drupal/Core/Messenger/MessengerInterface.php A warning.
MessengerLegacyTest class core/tests/Drupal/KernelTests/Core/Messenger/MessengerLegacyTest.php @group Messenger
@group legacy
MessengerLegacyTest.php file core/tests/Drupal/KernelTests/Core/Messenger/MessengerLegacyTest.php
MessengerLegacyTest::getMessengerService function core/tests/Drupal/KernelTests/Core/Messenger/MessengerLegacyTest.php Retrieves the Messenger service from LegacyMessenger.
MessengerLegacyTest::testMessages function core/tests/Drupal/KernelTests/Core/Messenger/MessengerLegacyTest.php @covers \Drupal::messenger[[api-linebreak]]
@covers ::getMessengerService[[api-linebreak]]
@covers ::all[[api-linebreak]]
@covers ::addMessage[[api-linebreak]]
@covers ::addError[[api-linebreak]]
@covers ::addStatus[[api-linebreak]]
@covers…
MessengerTest class core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php @group Messenger
@coversDefaultClass \Drupal\Core\Messenger\Messenger[[api-linebreak]]
MessengerTest.php file core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php
MessengerTest::$messenger property core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php The messenger under test.
MessengerTest::setUp function core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php
MessengerTest::testAddMarkup function core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php Test adding markup.
MessengerTest::testAddNoDuplicates function core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php Tests we don't add duplicates.
MessengerTest::testAddWithDuplicates function core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php Tests we do add duplicates with repeat flag.
MessengerTest::testRemoveSingleMessage function core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php @covers ::addStatus[[api-linebreak]]
@covers ::deleteByType[[api-linebreak]]
@covers ::messagesByType[[api-linebreak]]
MessengerTrait trait core/lib/Drupal/Core/Messenger/MessengerTrait.php Provides a trait for the messenger service.
MessengerTrait.php file core/lib/Drupal/Core/Messenger/MessengerTrait.php
MessengerTrait::$messenger property core/lib/Drupal/Core/Messenger/MessengerTrait.php The messenger.
MessengerTrait::messenger function core/lib/Drupal/Core/Messenger/MessengerTrait.php Gets the messenger.
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::clearCsrfTokenSeed function core/lib/Drupal/Core/Session/MetadataBag.php Clear the CSRF token seed.
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::__construct function core/lib/Drupal/Core/Session/MetadataBag.php Constructs a new metadata bag instance.
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
MetadataBubblingUrlGenerator::setContext function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php
MetadataBubblingUrlGenerator::supports function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php
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.
MetadataGenerator class core/modules/quickedit/src/MetadataGenerator.php Generates in-place editing metadata for an entity field.

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