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
HTMLRestrictions::fromTextFormat function core/modules/ckeditor5/src/HTMLRestrictions.php Constructs a set of HTML restrictions matching the given text format.
InlineBlockTestBase::removeInlineBlockFromLayout function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php Removes an entity block from the layout but does not save the layout.
Insert::$fromQuery property core/lib/Drupal/Core/Database/Query/Insert.php A SelectQuery object to fetch the rows that should be inserted.
Insert::from function core/lib/Drupal/Core/Database/Query/Insert.php Sets the fromQuery on this InsertQuery object.
InstallHelper::importContentFromFile function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Imports content.
InvalidDataTest::testInsertDuplicateDataFromSelect function core/tests/Drupal/KernelTests/Core/Database/InvalidDataTest.php Tests inserting with invalid data from a select query.
JsonApiRegressionTest::testBundlelessRelationshipMutationFromIssue2973681 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure POST and PATCH works for bundle-less relationship routes.
JsonApiRegressionTest::testBundleSpecificTargetEntityTypeFromIssue2953207 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure filtering on relationships works with bundle-specific target types.
JsonApiRegressionTest::testDanglingReferencesInAnEntityReferenceFieldFromIssue2968972 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Cannot PATCH an entity with dangling references in an ER field.
JsonApiRegressionTest::testDanglingReferencesInAnEntityReferenceFieldFromIssue2984647 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Cannot GET an entity with dangling references in an ER field.
JsonApiRegressionTest::testDeepNestedIncludeMultiTargetEntityTypeFieldFromIssue2973681 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure deep nested include works on multi target entity type field.
JsonApiRegressionTest::testDenormalizeAliasedRelationshipFromIssue2953207 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensures denormalizing relationships with aliased field names works.
JsonApiRegressionTest::testEmptyRelationshipFilteringFromIssue3025372 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure filtering for entities with empty entity reference fields works.
JsonApiRegressionTest::testFilterByIdFromIssue3015759 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensures that filtering by a sequential internal ID named 'id' is possible.
JsonApiRegressionTest::testGetNodeCollectionWithHookNodeGrantsImplementationsFromIssue2984964 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensures GETting node collection + hook_node_grants() implementations works.
JsonApiRegressionTest::testGetTermWhenMultipleVocabulariesExistFromIssue2977879 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensures GETting terms works when multiple vocabularies exist.
JsonApiRegressionTest::testInvalidDataTriggersUnprocessableEntityErrorFromIssue3052954 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure POSTing invalid data results in a 422 response, not a PHP error.
JsonApiRegressionTest::testLeakedCacheMetadataViaRdfFromIssue3053827 function core/modules/rdf/tests/src/Functional/Jsonapi/JsonApiRegressionTest.php Ensure that child comments can be retrieved via JSON:API.
JsonApiRegressionTest::testMapFieldTypeNormalizationFromIssue3040590 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure `@FieldType=map` fields are normalized correctly.
JsonApiRegressionTest::testNonTranslatableEntityUpdatesFromIssue3043168 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure non-translatable entities can be PATCHed with an alternate language.
JsonApiRegressionTest::testPageCacheFromIssue3009596 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensures that Drupal's page cache is effective.
JsonApiRegressionTest::testPatchingDateTimeFieldsFromIssue3021194 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensures PATCHing datetime (both date-only & date+time) fields is possible.
JsonApiRegressionTest::testPatchInvalidFieldPropertyFromIssue3127883 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure PATCHing a non-existing field property results in a helpful error.
JsonApiRegressionTest::testPatchToIncludeUrlDoesNotReturnIncludeFromIssue3026030 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure includes are respected even when PATCHing.
JsonApiRegressionTest::testPostToIncludeUrlDoesNotReturnIncludeFromIssue3026030 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure includes are respected even when POSTing.
JsonApiRegressionTest::testRecursionDetectedWhenResponseContainsViolationsFrom3042124 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Tests that the response still has meaningful error messages.
JsonApiRegressionTest::testThatRoutesAreRebuiltAfterDataModelChangesFromIssue2984886 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensures that JSON:API routes are caches are dynamically rebuilt.
LabelOnlyResourceObject::createFromEntity function core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php Creates a new ResourceObject from an entity.
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.
LayoutBuilderEntityViewDisplayStorage::mapFromStorageRecords function core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplayStorage.php Maps from storage records to entity objects.
LayoutBuilderQuickEditTest::testPlaceFieldBlockFromDifferentEntityType function core/modules/quickedit/tests/src/Functional/LayoutBuilderQuickEditTest.php Tests Quick Edit integration with a block from a different entity type.
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.
LinkGenerator::generateFromLink function core/lib/Drupal/Core/Utility/LinkGenerator.php Renders a link from a link object.
LinkGeneratorInterface::generateFromLink function core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php Renders a link from a link object.
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.
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 @covers ::fromRequest
MediaTest::getDrupalMediaFromSource function core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php Parses the <drupal-media> element from CKEditor's "source" view.
Message::getMessageFromFile function composer/Plugin/ProjectMessage/Message.php Reads the message file as an array.

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