Search for from

  1. Search 7.x for from
  2. Search 9.5.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
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.
RestResourceConfig::getLabelFromPlugin function core/modules/rest/src/Entity/RestResourceConfig.php The label callback for this configuration entity.
RESTTestBase::loadEntityFromLocationHeader function core/modules/rest/src/Tests/RESTTestBase.php Loads an entity based on the location URL returned in the location header.
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.
SectionStorageInterface::extractIdFromRoute function core/modules/layout_builder/src/SectionStorageInterface.php Configures the plugin based on route values.
SectionStorageInterface::getSectionListFromId function core/modules/layout_builder/src/SectionStorageInterface.php Derives the section list from the storage ID.
SectionStorageManager::loadFromRoute function core/modules/layout_builder/src/SectionStorage/SectionStorageManager.php Loads a section storage populated with a section list derived from a route.
SectionStorageManager::loadFromStorageId function core/modules/layout_builder/src/SectionStorage/SectionStorageManager.php Loads a section storage populated with an existing section list.
SectionStorageManagerInterface::loadFromRoute function core/modules/layout_builder/src/SectionStorage/SectionStorageManagerInterface.php Loads a section storage populated with a section list derived from a route.
SectionStorageManagerInterface::loadFromStorageId function core/modules/layout_builder/src/SectionStorage/SectionStorageManagerInterface.php Loads a section storage populated with an existing section list.
SectionStorageManagerTest::testLoadFromRoute function core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php @covers ::loadFromRoute
SectionStorageManagerTest::testLoadFromRouteNull function core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php @covers ::loadFromRoute
SectionStorageManagerTest::testLoadFromStorageId function core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php @covers ::loadFromStorageId
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.
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.
SimpleConfigSectionStorage::extractIdFromRoute function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php Configures the plugin based on route values.
SimpleConfigSectionStorage::getSectionListFromId function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php Derives the section list from the storage ID.
SimpleTestTest::getTestIdFromResults function core/modules/simpletest/src/Tests/SimpleTestTest.php Fetch the test id from the test results.
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.
taxonomy_post_update_remove_hierarchy_from_vocabularies function core/modules/taxonomy/taxonomy.post_update.php Remove the 'hierarchy' property from vocabularies.

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