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
ResourceObject::extractFieldsFromEntity function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Extracts the entity's fields.
ResourceTestBase::removeResourceTypeFromDocument function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Makes the JSON:API document violate the spec by omitting the resource type.
ResourceTestBase::revokePermissionsFromTestedRole function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Revokes permissions from the authenticated role.
ResourceTypeBuildEvent::createFromEntityTypeAndBundle function core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php Creates a new ResourceTypeBuildEvent.
ResourceTypeRepository::getRelatableResourceTypesFromFieldDefinition function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Get relatable resource types from a field definition.
RouteMatch::createFromRequest function core/lib/Drupal/Core/Routing/RouteMatch.php Creates a RouteMatch from a request.
RouteMatchTest::testRouteMatchFromRequest function core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php @covers ::createFromRequest
@covers ::__construct
Routes::getResourceTypeNameFromParameters function core/modules/jsonapi/src/Routing/Routes.php Gets the resource type from a route or request's parameters.
ScaffoldTest::assertDefaultSettingsFromScaffoldOverride function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php Asserts that the default settings file was overridden by the test.
Section::fromArray function core/modules/layout_builder/src/Section.php Creates an object from an array representation of the section.
SectionComponent::fromArray function core/modules/layout_builder/src/SectionComponent.php Creates an object from an array representation of the section component.
SectionStorageInterface::deriveContextsFromRoute function core/modules/layout_builder/src/SectionStorageInterface.php Derives the available plugin contexts from route values.
SecuredRedirectResponse::createFromRedirectResponse function core/lib/Drupal/Component/HttpFoundation/SecuredRedirectResponse.php Copies an existing redirect response into a safe one.
SecuredRedirectResponse::fromResponse function core/lib/Drupal/Component/HttpFoundation/SecuredRedirectResponse.php Copies over the values from the given response.
SecurityAdvisory::createFromArray function core/modules/system/src/SecurityAdvisories/SecurityAdvisory.php Creates a SecurityAdvisories instance from an array.
SecurityAdvisoryTest::providerCreateFromArray function core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php Data provider for testCreateFromArray().
SecurityAdvisoryTest::providerCreateFromArrayInvalidField function core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php Data provider for testCreateFromArrayInvalidField().
SecurityAdvisoryTest::providerCreateFromArrayMissingField function core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php Data provider for testCreateFromArrayMissingField().
SecurityAdvisoryTest::testCreateFromArray function core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php Tests creating with valid data.
SecurityAdvisoryTest::testCreateFromArrayInvalidField function core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php Tests exceptions for invalid field types.
SecurityAdvisoryTest::testCreateFromArrayMissingField function core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php Tests exceptions with missing fields.
SelectSubqueryTest::testFromSubquerySelect function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests that we can use a subquery in a FROM clause.
SelectSubqueryTest::testFromSubquerySelectWithLimit function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests that we can use a subquery in a FROM clause with a LIMIT.
SessionAuthenticationTest::testSessionFromBasicAuthenticationDoesNotLeak function core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php Check that a basic authentication session does not leak.
SessionHttpsTest::getPathFromLocationHeader function core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Extracts internal path from the location header on the response.
SessionTestController::getFromSessionObject function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Prints the stored session value to the screen.
SessionTestController::getIdFromCookie function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Print the current session ID as read from the cookie.
SimpleConfigSectionStorage::deriveContextsFromRoute function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php Derives the available plugin contexts from route values.
SmartDefaultSettings::createSettingsFromCKEditor4 function core/modules/ckeditor5/src/SmartDefaultSettings.php Creates equivalent CKEditor 5 settings from CKEditor 4 settings.
Sort::createFromQueryParameter function core/modules/jsonapi/src/Query/Sort.php Creates a Sort object from a query parameter.
SortTest::testCreateFromQueryParameter function core/modules/jsonapi/tests/src/Unit/Query/SortTest.php @covers ::createFromQueryParameter
@dataProvider parameterProvider
SortTest::testCreateFromQueryParameterFail function core/modules/jsonapi/tests/src/Unit/Query/SortTest.php @covers ::createFromQueryParameter
@dataProvider badParameterProvider
SqlContentEntityStorage::deleteFromDedicatedTables function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Deletes values of fields in dedicated tables for all revisions.
SqlContentEntityStorage::deleteRevisionFromDedicatedTables function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Deletes values of fields in dedicated tables for all revisions.
SqlContentEntityStorage::getFromStorage function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Gets entities from the storage.
SqlContentEntityStorage::loadFromDedicatedTables function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Loads values of fields stored in dedicated tables for a group of entities.
SqlContentEntityStorage::loadFromSharedTables function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Loads values for fields stored in the shared data tables.
SqlContentEntityStorage::mapFromStorageRecords function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Maps from storage records to entity objects, and attaches fields.
SqlContentEntityStorageSchema::getSchemaFromStorageDefinition function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets the schema data for the given field storage definition.
StackedRouteMatchInterface::getRouteMatchFromRequest function core/lib/Drupal/Core/Routing/StackedRouteMatchInterface.php Returns a route match from a given request, if possible.
StorageComparer::removeFromChangelist function core/lib/Drupal/Core/Config/StorageComparer.php Removes the entry from the given operation changelist for the given name.
SupernovaGenerator::generateFromRoute function core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php Generates a URL or path for a specific route based on the given parameters.
SupernovaGenerator::getPathFromRoute function core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php Gets the internal path (system path) for a route.
TableSort::getContextFromRequest function core/lib/Drupal/Core/Utility/TableSort.php Initializes the table sort context.
TemporaryJsonapiFileFieldUploader::generateLockIdFromFileUri function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Generates a lock ID based on the file URI.
TemporaryQueryGuard::getAccessResultsFromEntityFilterHook function core/modules/jsonapi/src/Access/TemporaryQueryGuard.php Gets the combined access result for each JSONAPI_FILTER_AMONG_* subset.
TestFileParser::getTestListFromFile function core/lib/Drupal/Core/Test/RunTests/TestFileParser.php Gets the classes from a PHP file.
TestFileParserTest::testGetTestListFromFile function core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php @covers ::getTestListFromFile
TestItem::fieldSettingsFromConfigData function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItem.php Returns a settings array in the field type's canonical representation.
TestItem::storageSettingsFromConfigData function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItem.php Returns a settings array in the field type's canonical representation.

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