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
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.
KeyValueEntityStorage::mapFromStorageRecords function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php Maps from storage records to entity objects.
LabelOnlyResourceObject::createFromEntity function core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php
LabelOnlyResourceObject::extractFieldsFromEntity function core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php
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
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
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.
LocaleFile::createFromPath function core/modules/locale/src/File/LocaleFile.php Creates a LocaleFile from the filepath.
LocaleTranslatableProject::createFromArray function core/modules/locale/src/LocaleTranslatableProject.php Creates a new instance from an array.
LocaleTranslationSource::fromProject function core/modules/locale/src/LocaleTranslationSource.php Create a LocaleTranslationSource object from a project.
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::testContentEntityFromRouteWithNonExistentRoute function core/modules/navigation/tests/src/Kernel/NavigationEntityRouteHelperTest.php Tests entity route helper when the route does not exist.
NavigationSectionStorage::deriveContextsFromRoute function core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php
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.

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