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
Connection::createConnectionOptionsFromUrl function core/lib/Drupal/Core/Database/Connection.php Creates an array of database connection options from a URL.
Connection::createConnectionOptionsFromUrl function core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php Creates an array of database connection options from a URL.
Connection::createUrlFromConnectionOptions function core/lib/Drupal/Core/Database/Connection.php Creates a URL from an array of database connection options.
Connection::createUrlFromConnectionOptions function core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php Creates a URL from an array of database connection options.
ConnectionTest::providerCreateConnectionOptionsFromUrl function core/tests/Drupal/Tests/Core/Database/Driver/sqlite/ConnectionTest.php Data provider for testCreateConnectionOptionsFromUrl.
ConnectionTest::testCreateConnectionOptionsFromUrl function core/tests/Drupal/Tests/Core/Database/Driver/sqlite/ConnectionTest.php @covers ::createConnectionOptionsFromUrl
@dataProvider providerCreateConnectionOptionsFromUrl
ContainerTest::testGetForClassFromParameter function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() works properly for class from parameters.
ContainerTest::testResolveServicesAndParametersForServiceInstantiatedFromParameter function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that a parameter that points to a service works correctly.
ContentEntityBase::$fieldsToSkipFromTranslationChangesCheck property core/lib/Drupal/Core/Entity/ContentEntityBase.php Local cache for fields to skip from the checking for translation changes.
ContentEntityBase::getFieldsToSkipFromTranslationChangesCheck function core/lib/Drupal/Core/Entity/ContentEntityBase.php Returns an array of field names to skip in ::hasTranslationChanges.
ContentEntityStorageBase::getFromPersistentCache function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Gets entities from the persistent cache backend.
ContentModerationState::getFieldsToSkipFromTranslationChangesCheck function core/modules/content_moderation/src/Entity/ContentModerationState.php Returns an array of field names to skip in ::hasTranslationChanges.
ContentModerationState::loadFromModeratedEntity function core/modules/content_moderation/src/Entity/ContentModerationState.php Loads a content moderation state entity.
ContentModerationState::updateOrCreateFromEntity function core/modules/content_moderation/src/Entity/ContentModerationState.php Creates or updates an entity's moderation state whilst saving that entity.
Context::createFromContext function core/lib/Drupal/Core/Plugin/Context/Context.php Creates a new context with a different value.
ContextAwarePluginBase::createContextFromConfiguration function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Creates context objects from any context mappings in configuration.
ContextAwarePluginBase::createContextFromConfiguration function core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php
ContextInterface::createFromContext function core/lib/Drupal/Core/Plugin/Context/ContextInterface.php Creates a new context with a different value.
ControllerResolver::getControllerFromDefinition function core/lib/Drupal/Core/Controller/ControllerResolver.php Returns the Controller instance with a given controller route definition.
ControllerResolverInterface::getControllerFromDefinition function core/lib/Drupal/Core/Controller/ControllerResolverInterface.php Returns the Controller instance with a given controller route definition.
ControllerResolverTest::providerTestGetControllerFromDefinition function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Provides test data for testGetControllerFromDefinition().
ControllerResolverTest::testGetControllerFromDefinition function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Tests getControllerFromDefinition().
ControllerResolverTest::testGetControllerFromDefinitionNotCallable function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Tests getControllerFromDefinition() without a callable.
Cookie::getUserFromSession function core/modules/user/src/Authentication/Provider/Cookie.php Returns the UserSession object for the given session.
CurrentRouteMatch::getRouteMatchFromRequest function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns a route match from a given request, if possible.
CurrentRouteMatchTest::testGetRouteMatchFromRequest function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @covers ::getRouteMatchFromRequest
CurrentRouteMatchTest::testGetRouteMatchFromRequestWithRouting function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @covers ::getRouteMatchFromRequest
DataDefinition::createFromDataType function core/lib/Drupal/Core/TypedData/DataDefinition.php Creates a new data definition object.
DataDefinitionInterface::createFromDataType function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Creates a new data definition object.
DataFieldRow::extractFromOptionsArray function core/modules/rest/src/Plugin/views/row/DataFieldRow.php Extracts a set of option values from a nested options array.
DataReferenceDefinition::createFromDataType function core/lib/Drupal/Core/TypedData/DataReferenceDefinition.php Creates a new data definition object.
DateTimeHandlerTestBase::getRelativeDateValuesFromTimestamp function core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php Returns an array formatted date_only values relative to timestamp.
DateTimePlus::createFromArray function core/lib/Drupal/Component/Datetime/DateTimePlus.php Creates a date object from an array of date parts.
DateTimePlus::createFromDateTime function core/lib/Drupal/Component/Datetime/DateTimePlus.php Creates a date object from an input date object.
DateTimePlus::createFromFormat function core/lib/Drupal/Component/Datetime/DateTimePlus.php Creates a date object from an input format.
DateTimePlus::createFromTimestamp function core/lib/Drupal/Component/Datetime/DateTimePlus.php Creates a date object from timestamp input.
DefaultPluginManager::extractProviderFromDefinition function core/lib/Drupal/Core/Plugin/DefaultPluginManager.php Extracts the provider from a plugin definition.
DefaultsEntityForm::getEntityFromRouteMatch function core/modules/layout_builder/src/Form/DefaultsEntityForm.php Determines which entity will be used by this form from a RouteMatch object.
DefaultsSectionStorage::deriveContextsFromRoute function core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php Derives the available plugin contexts from route values.
DefaultsSectionStorage::extractEntityFromRoute function core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php Extracts an entity from the route values.
DefaultsSectionStorage::extractIdFromRoute function core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php Configures the plugin based on route values.
DefaultsSectionStorage::getSectionListFromId function core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php Derives the section list from the storage ID.
DefaultsSectionStorageTest::providerTestExtractEntityFromRoute function core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php Provides data for ::testExtractEntityFromRoute().
DefaultsSectionStorageTest::providerTestExtractIdFromRoute function core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php Provides data for ::testExtractIdFromRoute().
DefaultsSectionStorageTest::providerTestGetSectionListFromId function core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php Provides data for ::testGetSectionListFromId().
DefaultsSectionStorageTest::testExtractEntityFromRoute function core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php @covers ::extractEntityFromRoute
DefaultsSectionStorageTest::testExtractEntityFromRouteCreate function core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php @covers ::extractEntityFromRoute
DefaultsSectionStorageTest::testExtractIdFromRoute function core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php @covers ::extractIdFromRoute
DefaultsSectionStorageTest::testGetSectionListFromId function core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php @covers ::getSectionListFromId
DefaultsSectionStorageTest::testGetSectionListFromIdCreate function core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php @covers ::getSectionListFromId

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