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
MigrateLinkDomainSettingFromRestToHalUpdateTest::setDatabaseDumpFiles function core/modules/hal/tests/src/Functional/Update/MigrateLinkDomainSettingFromRestToHalUpdateTest.php Set database dump files to be used.
MigrateLinkDomainSettingFromRestToHalUpdateTest::testLinkDomainMigratedFromRestSettingsToHalSettings function core/modules/hal/tests/src/Functional/Update/MigrateLinkDomainSettingFromRestToHalUpdateTest.php Tests hal_update_8301().
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.
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.
OverridesSectionStorage::extractIdFromRoute function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Configures the plugin based on route values.
OverridesSectionStorage::getSectionListFromId function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Derives the section list from the storage ID.
OverridesSectionStorageTest::providerTestExtractEntityFromRoute function core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php Provides data for ::testExtractEntityFromRoute().
OverridesSectionStorageTest::providerTestExtractIdFromRoute function core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php Provides data for ::testExtractIdFromRoute().
OverridesSectionStorageTest::providerTestGetSectionListFromId function core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php Provides data for ::testGetSectionListFromId().
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
OverridesSectionStorageTest::testExtractIdFromRoute function core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php @covers ::extractIdFromRoute
OverridesSectionStorageTest::testGetSectionListFromId function core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php @covers ::getSectionListFromId
PageCacheTest::testPageCacheTagsIndependentFromCacheabilityHeaders function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Test 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.
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.
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.
RemoveResponseGzipFromSystemPerformanceConfigurationTest class core/modules/system/tests/src/Functional/Update/RemoveResponseGzipFromSystemPerformanceConfigurationTest.php Ensures that response.gzip is removed from system.performance configuration.
RemoveResponseGzipFromSystemPerformanceConfigurationTest.php file core/modules/system/tests/src/Functional/Update/RemoveResponseGzipFromSystemPerformanceConfigurationTest.php
RemoveResponseGzipFromSystemPerformanceConfigurationTest::$defaultTheme property core/modules/system/tests/src/Functional/Update/RemoveResponseGzipFromSystemPerformanceConfigurationTest.php The theme to install as the default for testing.
RemoveResponseGzipFromSystemPerformanceConfigurationTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/RemoveResponseGzipFromSystemPerformanceConfigurationTest.php Set database dump files to be used.
RemoveResponseGzipFromSystemPerformanceConfigurationTest::testUpdate function core/modules/system/tests/src/Functional/Update/RemoveResponseGzipFromSystemPerformanceConfigurationTest.php Ensures that response.gzip is removed from system.performance
configuration.
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.
ResourceObject::extractFieldsFromEntity function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Extracts the entity's fields.

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