Search for from

  1. Search 7.x for from
  2. Search 9.5.x for from
  3. Search 10.3.x for from
  4. Search 11.x for from
  5. Other projects
Title Object type File name Summary
Url::fromRoute function core/lib/Drupal/Core/Url.php Creates a new Url object for a URL that has a Drupal route.
Url::fromRouteMatch function core/lib/Drupal/Core/Url.php Creates a new URL object from a route match.
Url::fromRouteUri function core/lib/Drupal/Core/Url.php Creates a new Url object for 'route:' URIs.
Url::fromUri function core/lib/Drupal/Core/Url.php Creates a new Url object from a URI.
Url::fromUserInput function core/lib/Drupal/Core/Url.php Creates a Url object for a relative URI reference submitted by user input.
UrlGenerator::generateFromRoute function core/lib/Drupal/Core/Routing/UrlGenerator.php Generates a URL or path for a specific route based on the given parameters.
UrlGenerator::getInternalPathFromRoute function core/lib/Drupal/Core/Routing/UrlGenerator.php Gets the path of a route.
UrlGenerator::getPathFromRoute function core/lib/Drupal/Core/Routing/UrlGenerator.php Gets the internal path (system path) for a route.
UrlGeneratorInterface::generateFromRoute function core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php Generates a URL or path for a specific route based on the given parameters.
UrlGeneratorInterface::getPathFromRoute function core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php Gets the internal path (system path) for a route.
UrlGeneratorTest::assertGenerateFromRoute function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Asserts \Drupal\Core\Routing\UrlGenerator::generateFromRoute()'s output.
UrlGeneratorTest::testGetPathFromRouteTrailing function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Tests URL generation from route with trailing start and end slashes.
UrlGeneratorTest::testGetPathFromRouteWithSubdirectory function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Tests URL generation in a subdirectory.
UrlTest::providerFromInvalidInternalUri function core/tests/Drupal/Tests/Core/UrlTest.php Data provider for testFromInvalidInternalUri().
UrlTest::providerFromValidInternalUri function core/tests/Drupal/Tests/Core/UrlTest.php Data provider for testFromValidInternalUri().
UrlTest::testCreateFromRequest function core/tests/Drupal/Tests/Core/UrlTest.php Tests the createFromRequest method.
UrlTest::testFromInvalidInternalUri function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromUri() method with an invalid internal: URI.
UrlTest::testFromInvalidUserInput function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromUserInput method with invalid paths.
UrlTest::testFromRoutedPathWithInvalidRoute function core/tests/Drupal/Tests/Core/UrlTest.php Tests fromUri() method with a user-entered path not matching any route.
UrlTest::testFromRoutedPathWithValidRoute function core/tests/Drupal/Tests/Core/UrlTest.php Tests fromUri() method with user-entered path matching a valid route.
UrlTest::testFromRouteFront function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromRoute() method with the special <front> path.
UrlTest::testFromRouteMatch function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromRouteMatch() method.
UrlTest::testFromRouteUriWithMissingRouteName function core/tests/Drupal/Tests/Core/UrlTest.php @covers ::fromUri[[api-linebreak]]
UrlTest::testFromUriNumber function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromUri() method with a base: URI starting with a number.
UrlTest::testFromUserInput function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromUserInput method with valid paths.
UrlTest::testFromValidInternalUri function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromUri() method with a valid internal: URI.
UrlTest::testUrlFromRequest function core/tests/Drupal/Tests/Core/UrlTest.php Tests creating a Url from a request.
UrlTest::testUrlFromRequestInvalid function core/tests/Drupal/Tests/Core/UrlTest.php Tests that an invalid request will thrown an exception.
UserLoginHttpTest::loginFromResetEmail function core/modules/user/tests/src/Functional/UserLoginHttpTest.php Login from reset password email.
UserResetEmailTestTrait::loginFromResetEmail function core/modules/user/src/Tests/UserResetEmailTestTrait.php Login from reset password email.
ViewsConfigUpdater::mapOperatorFromSingleToMultiple function core/modules/views/src/ViewsConfigUpdater.php Maps a single operator to a multiple one, if possible.
ViewsSelection::stripAdminAndAnchorTagsFromResults function core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php Strips all admin and anchor tags from a result list.
WarmCacheUpdateFrom8dot6Test class core/modules/system/tests/src/Functional/Update/WarmCacheUpdateFrom8dot6Test.php Updates from 8.6.0 with warm caches.
WarmCacheUpdateFrom8dot6Test.php file core/modules/system/tests/src/Functional/Update/WarmCacheUpdateFrom8dot6Test.php
WarmCacheUpdateFrom8dot6Test::initConfig function core/modules/system/tests/src/Functional/Update/WarmCacheUpdateFrom8dot6Test.php Initialize various configurations post-installation.
WarmCacheUpdateFrom8dot6Test::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/WarmCacheUpdateFrom8dot6Test.php Set database dump files to be used.
WarmCacheUpdateFrom8dot6Test::testUpdatedSite function core/modules/system/tests/src/Functional/Update/WarmCacheUpdateFrom8dot6Test.php Tests \Drupal\Core\Update\UpdateKernel::fixSerializedExtensionObjects().
WarmCacheUpdateFrom8dot6Test::testWithMissingProfile function core/modules/system/tests/src/Functional/Update/WarmCacheUpdateFrom8dot6Test.php Tests system_update_8601().
WebDriverTestBase::installModulesFromClassProperty function core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php Install modules defined by `static::$modules`.
WorkflowTest::testAddTransitionConsistentAfterFromCatch function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::addTransition[[api-linebreak]]
WorkflowTest::testAddTransitionMissingFromException function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::addTransition[[api-linebreak]]
WorkflowTest::testGetTransitionFromStateToState function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::getTransitionFromStateToState[[api-linebreak]]
@covers ::hasTransitionFromStateToState[[api-linebreak]]
WorkflowTest::testGetTransitionFromStateToStateException function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::getTransitionFromStateToState[[api-linebreak]]
WorkflowTest::testSetTransitionFromStates function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::setTransitionFromStates[[api-linebreak]]
WorkflowTest::testSetTransitionFromStatesAlreadyExists function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::setTransitionFromStates[[api-linebreak]]
WorkflowTest::testSetTransitionFromStatesMissingState function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::setTransitionFromStates[[api-linebreak]]
WorkflowTest::testSetTransitionFromStatesMissingTransition function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::setTransitionFromStates[[api-linebreak]]
WorkflowTypeBase::getTransitionFromStateToState function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Gets a transition from state to state.
WorkflowTypeBase::getTransitionIdFromStateToState function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Gets the transition ID from state to state.
WorkflowTypeBase::hasTransitionFromStateToState function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Determines if a transition from state to state exists.

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