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 11.x for from
  5. Other projects
Title Object type File name Summary
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
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.
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.
Recipe::createFromDirectory function core/lib/Drupal/Core/Recipe/Recipe.php Creates a recipe object from the provided path.
RecipeConfigStorageWrapper::createStorageFromArray function core/lib/Drupal/Core/Recipe/RecipeConfigStorageWrapper.php Creates a single config storage for an array of storages.
RecipeConfigStorageWrapperTest::testReadFromA function core/tests/Drupal/Tests/Core/Recipe/RecipeConfigStorageWrapperTest.php Validate that we read from storage A first.
RecipeConfigStorageWrapperTest::testReadFromB function core/tests/Drupal/Tests/Core/Recipe/RecipeConfigStorageWrapperTest.php Validate that we read from storage B second.
RecipeFileException::fromViolationList function core/lib/Drupal/Core/Recipe/RecipeFileException.php Creates an instance of this exception from a set of validation errors.
RecipeRunnerTest::testConfigFromModule function core/tests/Drupal/KernelTests/Core/Recipe/RecipeRunnerTest.php
RecipeRunnerTest::testConfigFromModuleAndRecipe function core/tests/Drupal/KernelTests/Core/Recipe/RecipeRunnerTest.php
RecipeTest::testCreateFromDirectory2 function core/tests/Drupal/KernelTests/Core/Recipe/RecipeTest.php @testWith ["no_extensions", "No extensions" , "Testing", [], "A recipe description"]
["install_two_modules", "Install two modules" , "Content type", ["filter",…
RecipeTest::testCreateFromDirectoryNoRecipe function core/tests/Drupal/KernelTests/Core/Recipe/RecipeTest.php
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.
RelatedResourceTypesTest::testGetRelatableResourceTypesFromFieldDefinitionEntityReferenceFieldDeprecated function core/modules/jsonapi/tests/src/Kernel/ResourceType/RelatedResourceTypesTest.php Test the deprecation error on entity reference fields.

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