Search for from

  1. Search 7.x for from
  2. Search 8.9.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
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.
ModuleVersion::createFromSupportBranch function core/modules/update/src/ModuleVersion.php Constructs a module version object from a support branch.
ModuleVersion::createFromVersionString function core/modules/update/src/ModuleVersion.php Constructs a module version object from a version string.
ModuleVersionTest::providerCreateFromSupportBranch function core/modules/update/tests/src/Unit/ModuleVersionTest.php Data provider for testCreateFromSupportBranch().
ModuleVersionTest::testCreateFromSupportBranch function core/modules/update/tests/src/Unit/ModuleVersionTest.php @covers ::createFromSupportBranch
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
PageCacheTest::testPageCacheTagsIndependentFromCacheabilityHeaders function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests that the page cache doesn't depend on cacheability headers.
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().
PluralTranslatableMarkup::createFromTranslatedString function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Constructs a new class instance from already translated markup.
PoHeader::setFromString function core/lib/Drupal/Component/Gettext/PoHeader.php Populate internal values from a string.
PoItem::setFromArray function core/lib/Drupal/Component/Gettext/PoItem.php Create the PoItem from a structured array.
PoStreamReader::setItemFromArray function core/lib/Drupal/Component/Gettext/PoStreamReader.php Store the parsed values as a PoItem object.
ProjectCoreCompatibility::createMessageFromCoreCompatibility function core/modules/update/src/ProjectCoreCompatibility.php Creates core a compatibility message from a semantic version constraint.
ProjectRelease::createFromArray function core/modules/update/src/ProjectRelease.php Creates a ProjectRelease instance from an array.
ProjectReleaseTest::providerCreateFromArray function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Data provider for testCreateFromArray().
ProjectReleaseTest::providerCreateFromArrayInvalidField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Data provider for testCreateFromArrayInvalidField().
ProjectReleaseTest::providerCreateFromArrayMissingField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Data provider for testCreateFromArrayMissingField().
ProjectReleaseTest::testCreateFromArray function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Tests creating with valid data.
ProjectReleaseTest::testCreateFromArrayInvalidField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Tests exceptions for invalid field types.
ProjectReleaseTest::testCreateFromArrayMissingField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Tests exceptions with missing fields.
ProjectSecurityData::createFromProjectDataAndReleases function core/modules/update/src/ProjectSecurityData.php Creates a ProjectSecurityData object from project data and releases.
ProjectSecurityRequirement::createFromProjectDataAndSecurityCoverageInfo function core/modules/update/src/ProjectSecurityRequirement.php Creates a ProjectSecurityRequirement object from project data.
RedirectTest::testRedirectFromErrorPages function core/modules/system/tests/src/Functional/Form/RedirectTest.php Tests form redirection from 404/403 pages with the Block form.
RelatedResourceTypesTest::testGetRelatableResourceTypesFromFieldDefinition function core/modules/jsonapi/tests/src/Kernel/ResourceType/RelatedResourceTypesTest.php Ensure a graceful failure when a field can references a missing bundle.
Relationship::buildLinkCollectionFromEntityReferenceField function core/modules/jsonapi/src/JsonApiResource/Relationship.php Builds a LinkCollection for the given entity reference field.
Relationship::createFromEntityReferenceField function core/modules/jsonapi/src/JsonApiResource/Relationship.php Creates a new Relationship from an entity reference field.
RendererPlaceholdersTest::testNonArrayReturnFromLazyBuilder function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Tests that an error is thrown if a lazy builder doesn't return an array.
RequestContext::fromRequest function core/lib/Drupal/Core/Routing/RequestContext.php
RequestContext::fromRequestStack function core/lib/Drupal/Core/Routing/RequestContext.php Populates the context from the current request from the request stack.
ResourceIdentifier::fromEntity function core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php Creates a ResourceIdentifier object.
ResourceObject::buildLinksFromEntity function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Builds a LinkCollection for the given entity.
ResourceObject::createFromEntity function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Creates a new ResourceObject from an entity.

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