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
OriginatorSubscriberTest::testLocalizedDefaultFrom function core/modules/mailer/tests/src/Kernel/OriginatorSubscriberTest.php Ensure that the from address is set with the correct locale.
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 Tests derive contexts from route.
OverridesSectionStorageTest::testExtractEntityFromRoute function core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php Tests extract entity from route.
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().
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.
RecipeCommandTest::testDefaultInputValueFromConfig function core/tests/Drupal/FunctionalTests/Core/Recipe/RecipeCommandTest.php
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.
RecipeMultipleModulesConfigStorage::createFromModuleList function core/lib/Drupal/Core/Recipe/RecipeMultipleModulesConfigStorage.php Creates a RecipeMultipleModulesConfigStorage from a list of modules.
RecipeMultipleModulesConfigStorageTest::testCreateCollectionReadsFromSubdirectories function core/tests/Drupal/Tests/Core/Recipe/RecipeMultipleModulesConfigStorageTest.php Tests createCollection() reads from collection subdirectories.
RecipeMultipleModulesConfigStorageTest::testCreateFromModuleListEmpty function core/tests/Drupal/Tests/Core/Recipe/RecipeMultipleModulesConfigStorageTest.php Tests createFromModuleList() throws when given an empty module list.
RecipeRunnerTest::testConfigFromModule function core/tests/Drupal/KernelTests/Core/Recipe/RecipeRunnerTest.php Tests module configuration after processing a recipe.
RecipeRunnerTest::testConfigFromModuleAndRecipe function core/tests/Drupal/KernelTests/Core/Recipe/RecipeRunnerTest.php Tests installing config from a module and a recipe.
RecipeTest::testCreateFromDirectory2 function core/tests/Drupal/KernelTests/Core/Recipe/RecipeTest.php Tests create from directory 2.
RecipeTest::testCreateFromDirectoryNoRecipe function core/tests/Drupal/KernelTests/Core/Recipe/RecipeTest.php Tests creating a recipe from an empty directory.
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.
remove-description-from-user-register-form-mode.php file core/modules/system/tests/fixtures/update/remove-description-from-user-register-form-mode.php Empties the description of the user register form mode.

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