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
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.
JsonApiFilterRegressionTest::testBundleSpecificTargetEntityTypeFromIssue2953207 function core/modules/jsonapi/tests/src/Functional/JsonApiFilterRegressionTest.php Ensure filtering on relationships works with bundle-specific target types.
JsonApiFilterRegressionTest::testEmptyRelationshipFilteringFromIssue3025372 function core/modules/jsonapi/tests/src/Functional/JsonApiFilterRegressionTest.php Ensure filtering for entities with empty entity reference fields works.
JsonApiFilterRegressionTest::testFilterByIdFromIssue3015759 function core/modules/jsonapi/tests/src/Functional/JsonApiFilterRegressionTest.php Ensures that filtering by a sequential internal ID named 'id' is possible.
JsonApiPatchRegressionTest::testBundlelessRelationshipMutationFromIssue2973681 function core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php Ensure POST and PATCH works for bundle-less relationship routes.
JsonApiPatchRegressionTest::testBundleSpecificTargetEntityTypeFromIssue2953207 function core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php Ensure filtering on relationships works with bundle-specific target types.
JsonApiPatchRegressionTest::testDanglingReferencesInAnEntityReferenceFieldFromIssue2968972 function core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php Cannot PATCH an entity with dangling references in an ER field.
JsonApiPatchRegressionTest::testNonTranslatableEntityUpdatesFromIssue3043168 function core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php Ensure non-translatable entities can be PATCHed with an alternate language.
JsonApiPatchRegressionTest::testPatchingDateTimeFieldsFromIssue3021194 function core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php Ensures PATCHing datetime (both date-only & date+time) fields is possible.
JsonApiPatchRegressionTest::testPatchInvalidFieldPropertyFromIssue3127883 function core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php Ensure PATCHing a non-existing field property results in a helpful error.
JsonApiPatchRegressionTest::testPatchToIncludeUrlDoesNotReturnIncludeFromIssue3026030 function core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php Ensure includes are respected even when PATCHing.
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::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::testMapFieldTypeNormalizationFromIssue3040590 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure `@FieldType=map` fields are normalized correctly.
JsonApiRegressionTest::testPageCacheFromIssue3009596 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensures that Drupal's page cache is effective.
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.
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 @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::testValidateFromRoute function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::testValidateFromUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
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 @covers ::fromRequest
Message::getMessageFromFile function composer/Plugin/ProjectMessage/Message.php Reads the message file as an array.
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.

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