Search for assemble

  1. Search 7.x for assemble
  2. Search 9.5.x for assemble
  3. Search 8.9.x for assemble
  4. Search 11.x for assemble
  5. Other projects
Title Object type File name Summary
Drupal\Core\Utility\UnroutedUrlAssemblerInterface service core/core.services.yml
FieldPluginBaseTest::$unroutedUrlAssembler property core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php The unrouted URL assembler service.
FormSubmitterTest::$unroutedUrlAssembler property core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php The mocked unrouted URL assembler.
GotoAction::$unroutedUrlAssembler property core/lib/Drupal/Core/Action/Plugin/Action/GotoAction.php The unrouted URL assembler service.
LinkGeneratorTest::$urlAssembler property core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php The mocked URL Assembler service.
LinkTest::mockUrlAssembler function core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php Mocks the unrouted URL assembler.
RedirectResponseSubscriberTest::$urlAssembler property core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php The mocked request context.
UnroutedUrlAssembler class core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php Provides a way to build external or non Drupal local domain URLs.
UnroutedUrlAssembler.php file core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php
UnroutedUrlAssembler::$pathProcessor property core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php The outbound path processor.
UnroutedUrlAssembler::$requestStack property core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php A request stack object.
UnroutedUrlAssembler::addOptionDefaults function core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php Merges in default defaults.
UnroutedUrlAssembler::assemble function core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php This is a helper function that calls buildExternalUrl() or buildLocalUrl()
based on a check of whether the path is a valid external URL.
UnroutedUrlAssembler::buildExternalUrl function core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php
UnroutedUrlAssembler::buildLocalUrl function core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php
UnroutedUrlAssembler::__construct function core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php Constructs a new unroutedUrlAssembler object.
UnroutedUrlAssemblerInterface interface core/lib/Drupal/Core/Utility/UnroutedUrlAssemblerInterface.php Provides a way to build external or non Drupal local domain URLs.
UnroutedUrlAssemblerInterface.php file core/lib/Drupal/Core/Utility/UnroutedUrlAssemblerInterface.php
UnroutedUrlAssemblerInterface::assemble function core/lib/Drupal/Core/Utility/UnroutedUrlAssemblerInterface.php Builds a domain-local or external URL from a URI.
UnroutedUrlAssemblerTest class core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @coversDefaultClass \Drupal\Core\Utility\UnroutedUrlAssembler
@group Utility
UnroutedUrlAssemblerTest.php file core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php
UnroutedUrlAssemblerTest::$configFactory property core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php The mocked config factory.
UnroutedUrlAssemblerTest::$pathProcessor property core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php The mocked outbound path processor.
UnroutedUrlAssemblerTest::$requestStack property core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php The request stack.
UnroutedUrlAssemblerTest::$unroutedUrlAssembler property core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php The tested unrouted URL assembler.
UnroutedUrlAssemblerTest::providerTestAssembleWithExternalUrl function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php Provides test data for testAssembleWithExternalUrl.
UnroutedUrlAssemblerTest::providerTestAssembleWithLocalUri function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php
UnroutedUrlAssemblerTest::setUp function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php
UnroutedUrlAssemblerTest::setupRequestStack function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php Setups the request stack for a given subdir.
UnroutedUrlAssemblerTest::testAssembleWithEnabledProcessing function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @covers ::assemble
UnroutedUrlAssemblerTest::testAssembleWithExternalUrl function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @covers ::assemble
@covers ::buildExternalUrl
UnroutedUrlAssemblerTest::testAssembleWithLeadingSlash function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @covers ::assemble
UnroutedUrlAssemblerTest::testAssembleWithLocalUri function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @covers ::assemble
@covers ::buildLocalUrl
UnroutedUrlAssemblerTest::testAssembleWithNeitherExternalNorDomainLocalUri function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @covers ::assemble
UnroutedUrlAssemblerTest::testAssembleWithNotEnabledProcessing function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @covers ::assemble
UnroutedUrlAssemblerTest::testAssembleWithStartingSlashEnabledProcessing function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @covers ::assemble
UnroutedUrlTest::$urlAssembler property core/tests/Drupal/Tests/Core/UnroutedUrlTest.php The URL assembler.
unrouted_url_assembler service core/core.services.yml Drupal\Core\Utility\UnroutedUrlAssembler
Url::$urlAssembler property core/lib/Drupal/Core/Url.php The unrouted URL assembler.
Url::setUnroutedUrlAssembler function core/lib/Drupal/Core/Url.php Sets the unrouted URL assembler.
Url::unroutedUrlAssembler function core/lib/Drupal/Core/Url.php Gets the unrouted URL assembler for non-Drupal URLs.

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