Search for from

  1. Search 7.x for from
  2. Search 9.5.x for from
  3. Search 8.9.x for from
  4. Search 10.3.x for from
  5. Other projects
Title Object type File name Summary
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
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.
ValidationResult::createErrorFromThrowable function core/modules/package_manager/src/ValidationResult.php Creates an error ValidationResult object from a throwable.
ViewsSelection::stripAdminAndAnchorTagsFromResults function core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php Strips all admin and anchor tags from a result list.
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
WorkflowTest::testAddTransitionMissingFromException function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::addTransition
WorkflowTest::testGetTransitionFromStateToState function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::getTransitionFromStateToState
@covers ::hasTransitionFromStateToState
WorkflowTest::testGetTransitionFromStateToStateException function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::getTransitionFromStateToState
WorkflowTest::testSetTransitionFromStates function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::setTransitionFromStates
WorkflowTest::testSetTransitionFromStatesAlreadyExists function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::setTransitionFromStates
WorkflowTest::testSetTransitionFromStatesMissingState function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::setTransitionFromStates
WorkflowTest::testSetTransitionFromStatesMissingTransition function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::setTransitionFromStates
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.
WorkflowTypeBase::setTransitionFromStates function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Sets a transition's from states.
WorkflowTypeInterface::getTransitionFromStateToState function core/modules/workflows/src/WorkflowTypeInterface.php Gets a transition from state to state.
WorkflowTypeInterface::hasTransitionFromStateToState function core/modules/workflows/src/WorkflowTypeInterface.php Determines if a transition from state to state exists.
WorkflowTypeInterface::setTransitionFromStates function core/modules/workflows/src/WorkflowTypeInterface.php Sets a transition's from states.
WorkspaceSafeFormTrait::getSectionStorageFromFormState function core/modules/layout_builder/src/Form/WorkspaceSafeFormTrait.php Retrieves the section storage from a form state object, if it exists.
XdebugRequestTrait::extractCookiesFromRequest function core/tests/Drupal/Tests/XdebugRequestTrait.php Adds xdebug cookies, from request setup.
XdebugRequestTraitTest::testExtractCookiesFromRequest function core/tests/Drupal/Tests/Core/Test/XdebugRequestTraitTest.php Tests that Xdebug cookies are extracted from a request correctly.
Y2038TimestampUpdateTest::collectTimestampFieldsFromDatabase function core/modules/system/tests/src/Functional/Update/Y2038TimestampUpdateTest.php Collect the timestamp fields from the database and update table list.
_field_create_entity_from_ids function core/modules/field/field.module Assembles a partial entity structure with initial IDs.
_file_save_upload_from_form function core/modules/file/file.module Saves form file uploads.

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