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
TemporaryJsonapiFileFieldUploader::generateLockIdFromFileUri function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Generates a lock ID based on the file URI.
TemporaryQueryGuard::getAccessResultsFromEntityFilterHook function core/modules/jsonapi/src/Access/TemporaryQueryGuard.php Gets the combined access result for each JSONAPI_FILTER_AMONG_* subset.
TestFileParser::getTestListFromFile function core/lib/Drupal/Core/Test/RunTests/TestFileParser.php Gets the classes from a PHP file.
TestFileParserTest::testGetTestListFromFile function core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php @covers ::getTestListFromFile
TestItem::fieldSettingsFromConfigData function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItem.php Returns a settings array in the field type's canonical representation.
TestItem::storageSettingsFromConfigData function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItem.php Returns a settings array in the field type's canonical representation.
TestRouteSubscriber::routesFromArray function core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php
TestRouteSubscriber::routesFromCollection function core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php
TestRunnerKernel::createFromRequest function core/lib/Drupal/Core/Test/TestRunnerKernel.php Create a DrupalKernel object from a request.
TestStateBasedSectionStorage::deriveContextsFromRoute function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php Derives the available plugin contexts from route values.
TestStateBasedSectionStorage::extractIdFromRoute function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php Configures the plugin based on route values.
TestStateBasedSectionStorage::getSectionListFromId function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php Derives the section list from the storage ID.
Transition::$fromStateIds property core/modules/workflows/src/Transition.php The transition's from state IDs.
Transition::from function core/modules/workflows/src/Transition.php Gets the transition's from states.
TransitionInterface::DIRECTION_FROM constant core/modules/workflows/src/TransitionInterface.php The transition direction from.
TransitionInterface::from function core/modules/workflows/src/TransitionInterface.php Gets the transition's from states.
TransitionTest::testFromAndTo function core/modules/workflows/tests/src/Unit/TransitionTest.php @covers ::from
@covers ::to
TrustedRedirectResponseTest::providerCreateFromRedirectResponse function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php
TrustedRedirectResponseTest::testCreateFromRedirectResponse function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @covers ::createFromRedirectResponse
@dataProvider providerCreateFromRedirectResponse
TypedConfigManager::createFromNameAndData function core/lib/Drupal/Core/Config/TypedConfigManager.php Gets typed data for a given configuration name and its values.
TypedConfigManagerInterface::createFromNameAndData function core/lib/Drupal/Core/Config/TypedConfigManagerInterface.php Gets typed data for a given configuration name and its values.
Unicode::encodingFromBOM function core/lib/Drupal/Component/Utility/Unicode.php Decodes UTF byte-order mark (BOM) into the encoding's name.
UnroutedUrlTest::providerFromInvalidUri function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Data provider for testFromInvalidUri().
UnroutedUrlTest::providerFromUri function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Data provider for testFromUri().
UnroutedUrlTest::testCreateFromRequest function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Tests the createFromRequest method.
UnroutedUrlTest::testFromInvalidUri function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Tests the fromUri() method.
UnroutedUrlTest::testFromUri function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Tests the fromUri() method.
UpdateManagerUpdate::removeCheckboxFromRow function core/modules/update/src/Form/UpdateManagerUpdate.php Prepares a row entry for use in a regular table, not a 'tableselect'.
Updater::getUpdaterFromDirectory function core/lib/Drupal/Core/Updater/Updater.php Determines which Updater class can operate on the given directory.
Url::createFromRequest function core/lib/Drupal/Core/Url.php Returns the Url object matching a request.
Url::fromEntityUri function core/lib/Drupal/Core/Url.php Create a new Url object for entity URIs.
Url::fromInternalUri function core/lib/Drupal/Core/Url.php Creates a new Url object for 'internal:' URIs.
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.

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