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. Search 11.x for from
  6. Other projects
Title Object type File name Summary
LabelOnlyResourceObject::extractFieldsFromEntity function core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php Extracts the entity's fields.
LanguageConfigCollectionNameTrait::getLangcodeFromCollectionName function core/modules/language/src/Config/LanguageConfigCollectionNameTrait.php Converts a configuration collection name to a language code.
LanguageTestTrait::createLanguageFromLangcode function core/modules/language/tests/src/Traits/LanguageTestTrait.php Creates a configurable language object from a langcode.
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 Tests validate from non existing route.
LinkNotExistingInternalConstraintValidatorTest::testValidateFromRoute function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php Tests validate from route.
LinkNotExistingInternalConstraintValidatorTest::testValidateFromUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php Tests validate from uri.
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 Creates a new data definition object.
ListDataDefinition::createFromItemType function core/lib/Drupal/Core/TypedData/ListDataDefinition.php Creates a new list data definition for items of the given data type.
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 Tests from request query less.
Message::getMessageFromFile function composer/Plugin/ProjectMessage/Message.php Reads the message file as an array.
MessageEventTestSubscriber::setCustomFrom function core/modules/mailer/tests/modules/mailer_event_subscriber_test/src/EventSubscriber/MessageEventTestSubscriber.php Sets a custom from header.
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.
NavigationEntityRouteHelperTest::testGetContentEntityFromRouteWithNonExistentRoute function core/modules/navigation/tests/src/Kernel/NavigationEntityRouteHelperTest.php Tests getContentEntityFromRoute() method when the route does not exist.
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 Tests create from query parameter.
OffsetPageTest::testCreateFromQueryParameterFail function core/modules/jsonapi/tests/src/Unit/Query/OffsetPageTest.php Tests create from query parameter fail.
OriginatorSubscriber::setDefaultFrom function core/lib/Drupal/Core/Mailer/EventSubscriber/OriginatorSubscriber.php Sets the default from address.
OriginatorSubscriberTest::testCustomFrom function core/modules/mailer/tests/src/Kernel/OriginatorSubscriberTest.php Ensure that the from address can be customized.
OriginatorSubscriberTest::testCustomFromSubscriber function core/modules/mailer/tests/src/Kernel/OriginatorSubscriberTest.php Ensure that the from address can be customized.
OriginatorSubscriberTest::testDefaultEnvelopeSenderWithCustomFrom function core/modules/mailer/tests/src/Kernel/OriginatorSubscriberTest.php Ensure that the envelope sender is set to the site mail with custom from.
OriginatorSubscriberTest::testDefaultFrom function core/modules/mailer/tests/src/Kernel/OriginatorSubscriberTest.php Ensure that the from address is set to the site mail address.
OriginatorSubscriberTest::testDefaultMessageSenderWithCustomFrom function core/modules/mailer/tests/src/Kernel/OriginatorSubscriberTest.php Ensure that the message sender is set to the site mail with custom from.
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.

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