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
RecipeTest::testCreateFromDirectory2 function core/tests/Drupal/KernelTests/Core/Recipe/RecipeTest.php @testWith ["no_extensions", "No extensions" , "Testing", [], "A recipe description"]
["install_two_modules", "Install two modules" , "Content type", ["filter",…
RecipeTest::testCreateFromDirectoryNoRecipe function core/tests/Drupal/KernelTests/Core/Recipe/RecipeTest.php
RedirectTest::testRedirectFromErrorPages function core/modules/system/tests/src/Functional/Form/RedirectTest.php Tests form redirection from 404/403 pages with the Block form.
RelatedResourceTypesTest::testGetRelatableResourceTypesFromFieldDefinition function core/modules/jsonapi/tests/src/Kernel/ResourceType/RelatedResourceTypesTest.php Ensure a graceful failure when a field can references a missing bundle.
Relationship::buildLinkCollectionFromEntityReferenceField function core/modules/jsonapi/src/JsonApiResource/Relationship.php Builds a LinkCollection for the given entity reference field.
Relationship::createFromEntityReferenceField function core/modules/jsonapi/src/JsonApiResource/Relationship.php Creates a new Relationship from an entity reference field.
remove-description-from-article-content-type.php file core/modules/node/tests/fixtures/update/remove-description-from-article-content-type.php Empties the description of the `article` content type.
remove-description-from-tags-vocabulary.php file core/modules/taxonomy/tests/fixtures/update/remove-description-from-tags-vocabulary.php Empties the description of the `tags` vocabulary.
RendererPlaceholdersTest::testNonArrayReturnFromLazyBuilder function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Tests that an error is thrown if a lazy builder doesn't return an array.
RequestContext::fromRequest function core/lib/Drupal/Core/Routing/RequestContext.php
RequestContext::fromRequestStack function core/lib/Drupal/Core/Routing/RequestContext.php Populates the context from the current request from the request stack.
ResourceIdentifier::fromEntity function core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php Creates a ResourceIdentifier object.
ResourceObject::buildLinksFromEntity function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Builds a LinkCollection for the given entity.
ResourceObject::createFromEntity function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Creates a new ResourceObject from an entity.
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.
RevisionDeleteForm::getEntityFromRouteMatch function core/lib/Drupal/Core/Entity/Form/RevisionDeleteForm.php Determines which entity will be used by this form from a RouteMatch object.
RevisionRevertForm::getEntityFromRouteMatch function core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php Determines which entity will be used by this form from a RouteMatch object.
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.
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.

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