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
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.
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.
SqlContentEntityStorageTest::testDeleteFromDedicatedTablesExecutesOneDelete function core/tests/Drupal/KernelTests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests that only one SQL DELETE is executed on dedicated data tables.
StackedRouteMatchInterface::getRouteMatchFromRequest function core/lib/Drupal/Core/Routing/StackedRouteMatchInterface.php Returns a route match from a given request, if possible.
StandardRecipeInstallTest::installDefaultThemeFromClassProperty function core/tests/Drupal/FunctionalTests/Core/Recipe/StandardRecipeInstallTest.php Installs the default theme defined by `static::$defaultTheme` when needed.
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.
SvgSpriteExtractor::extractIdsFromSymbols function core/lib/Drupal/Core/Theme/Plugin/IconExtractor/SvgSpriteExtractor.php Extract icon ID from SVG symbols.
SvgSpriteExtractor::extractIdsFromXml function core/lib/Drupal/Core/Theme/Plugin/IconExtractor/SvgSpriteExtractor.php Extract icon ID from XML.
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.
TermParentsTest::testParentFromQuery function core/modules/taxonomy/tests/src/Functional/TermParentsTest.php Test the term add/edit form with parent query parameter.
TestableSqlContentEntityStorage::publicDeleteFromDedicatedTables function core/tests/Drupal/KernelTests/Core/Entity/Sql/TestableSqlContentEntityStorage.php Exposes the protected deleteFromDedicatedTables() method for testing.
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.
TestRouteSubscriber::routesFromArray function core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php
TestRouteSubscriber::routesFromCollection function core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php
TestRunnerKernel::createFromRequest function core/lib/Drupal/Core/Test/TestRunnerKernel.php Create a DrupalKernel object from a request.
TestStateBasedSectionStorage::deriveContextsFromRoute function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php Derives the available plugin contexts from route values.
TestStateBasedSectionStorage::extractIdFromRoute function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php

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