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
LayoutBuilderEntityViewDisplayStorage::mapFromStorageRecords function core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplayStorage.php Maps from storage records to entity objects.
Link::createFromRoute function core/lib/Drupal/Core/Link.php Creates a Link object from a given route name and parameters.
Link::fromTextAndUrl function core/lib/Drupal/Core/Link.php Creates a Link object from a given Url object.
LinkNotExistingInternalConstraintValidatorTest::testValidateFromNonExistingRoute function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::testValidateFromRoute function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::testValidateFromUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinksetControllerTestBase::getReferenceLinksetDataFromFile function core/modules/system/tests/src/Functional/Menu/LinksetControllerTestBase.php Retrieve reference linkset controller output adjusted for proper base URL.
ListDataDefinition::createFromDataType function core/lib/Drupal/Core/TypedData/ListDataDefinition.php
ListDataDefinition::createFromItemType function core/lib/Drupal/Core/TypedData/ListDataDefinition.php
ListDataDefinitionInterface::createFromItemType function core/lib/Drupal/Core/TypedData/ListDataDefinitionInterface.php Creates a new list data definition for items of the given data type.
ListItemBase::storageSettingsFromConfigData function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Returns a settings array in the field type's canonical representation.
LocaleConfigManager::$isUpdatingFromLocale property core/modules/locale/src/LocaleConfigManager.php Whether or not configuration translations are being updated from locale.
LocaleConfigManager::isUpdatingTranslationsFromLocale function core/modules/locale/src/LocaleConfigManager.php Indicates whether configuration translations are being updated from locale.
Log::logFromEvent function core/lib/Drupal/Core/Database/Log.php Log a query to all active logging keys, from a statement execution event.
MailTest::testFromAndReplyToHeader function core/modules/system/tests/src/Kernel/Mail/MailTest.php Checks the From: and Reply-to: headers.
MapDataDefinition::createFromDataType function core/lib/Drupal/Core/TypedData/MapDataDefinition.php Creates a new data definition object.
MediaLibraryState::fromRequest function core/modules/media_library/src/MediaLibraryState.php Get the media library state from a request.
MediaLibraryStateTest::providerFromRequest function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Data provider for testFromRequest().
MediaLibraryStateTest::testFromRequest function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Tests the hash validation when the state is created from a request.
MediaLibraryStateTest::testFromRequestQueryLess function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php @covers ::fromRequest
Message::getMessageFromFile function composer/Plugin/ProjectMessage/Message.php Reads the message file as an array.
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::getPathFromRoute function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Gets the internal path (system path) for a route.
MigrateFieldPluginManager::getPluginIdFromFieldType function core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManager.php Get the plugin ID from the field type.
MigrateFieldPluginManagerInterface::getPluginIdFromFieldType function core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManagerInterface.php Get the plugin ID from the field type.
MigrateTestCase::createSchemaFromRow function core/modules/migrate/tests/src/Unit/MigrateTestCase.php Generates a table schema from a row.
ModerationStateTestBase::createContentTypeFromUi function core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php Creates a content-type from the UI.
NavigationSectionStorage::deriveContextsFromRoute function core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php Derives the available plugin contexts from route values.
NullGenerator::getInternalPathFromRoute function core/lib/Drupal/Core/Routing/NullGenerator.php Gets the path of a route.
OEmbed::getThumbnailFileExtensionFromUrl function core/modules/media/src/Plugin/media/Source/OEmbed.php Tries to determine the file extension of a thumbnail.
OffsetPage::createFromQueryParameter function core/modules/jsonapi/src/Query/OffsetPage.php Creates an OffsetPage object from a query parameter.
OffsetPageTest::testCreateFromQueryParameter function core/modules/jsonapi/tests/src/Unit/Query/OffsetPageTest.php @covers ::createFromQueryParameter
@dataProvider parameterProvider
OffsetPageTest::testCreateFromQueryParameterFail function core/modules/jsonapi/tests/src/Unit/Query/OffsetPageTest.php @covers ::createFromQueryParameter
OutputStrategyInterface::renderFromHtml function core/lib/Drupal/Component/Render/OutputStrategyInterface.php Transforms a given HTML string into to a context-appropriate output string.
OverridesSectionStorage::deriveContextsFromRoute function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Derives the available plugin contexts from route values.
OverridesSectionStorage::extractEntityFromRoute function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Extracts an entity from the route values.
OverridesSectionStorageTest::providerTestExtractEntityFromRoute function core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php Provides data for ::testExtractEntityFromRoute().
OverridesSectionStorageTest::testDeriveContextsFromRoute function core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php @covers ::deriveContextsFromRoute
OverridesSectionStorageTest::testExtractEntityFromRoute function core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php @covers ::extractEntityFromRoute
PackageManagerKernelTestBase::assertExpectedResultsFromException function core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php Asserts that a StageEventException has a particular set of results.
PageCacheTest::testPageCacheTagsIndependentFromCacheabilityHeaders function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests that the page cache doesn't depend on cacheability headers.
PerformanceTestBase::installModulesFromClassProperty function core/tests/Drupal/FunctionalJavascriptTests/PerformanceTestBase.php Install modules defined by `static::$modules`.
PerformanceTestTrait::doInstallModulesFromClassProperty function core/tests/Drupal/Tests/PerformanceTestTrait.php Helper for ::installModulesFromClassProperty().
PermissionsPerBundleTest::applyRecipeFromString function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Given a string of `recipe.yml` contents, applies it to the site.
PhpTufValidatorTest::testPluginRemovedFromStagePreApply function core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php Tests removing the plugin from the stage before applying it.
PhpTufValidatorTest::testPluginRemovedFromStagePreRequire function core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php Tests removing the plugin from the stage on pre-require.
PlaceholderingRenderCache::getFromPlaceholderResultsCache function core/lib/Drupal/Core/Render/PlaceholderingRenderCache.php Retrieves an auto-placeholdered renderable array from the static cache.
PlainTextOutput::renderFromHtml function core/lib/Drupal/Component/Render/PlainTextOutput.php Transforms a given HTML string into to a context-appropriate output string.
PlainTextOutputTest::providerRenderFromHtml function core/tests/Drupal/Tests/Component/Render/PlainTextOutputTest.php Data provider for ::testRenderFromHtml()
PlainTextOutputTest::testRenderFromHtml function core/tests/Drupal/Tests/Component/Render/PlainTextOutputTest.php Tests ::renderFromHtml().

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