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 11.x for from
  5. Other projects
Title Object type File name Summary
ComponentValidatorTest::loadComponentDefinitionFromFs function core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php Loads a component definition from the component name.
ConfigEntityMapper::populateFromRouteMatch function core/modules/config_translation/src/ConfigEntityMapper.php Populate the config mapper with route match data.
ConfigEntityStorage::createFromStorageRecord function core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php Creates a configuration entity from storage values.
ConfigEntityStorage::getIDFromConfigName function core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php Extracts the configuration entity ID from the full configuration name.
ConfigEntityStorage::updateFromStorageRecord function core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php Updates a configuration entity from storage values.
ConfigEntityStorage::_doCreateFromStorageRecord function core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php Helps create a configuration entity from storage values.
ConfigEntityStorageInterface::createFromStorageRecord function core/lib/Drupal/Core/Config/Entity/ConfigEntityStorageInterface.php Creates a configuration entity from storage values.
ConfigEntityStorageInterface::getIDFromConfigName function core/lib/Drupal/Core/Config/Entity/ConfigEntityStorageInterface.php Extracts the configuration entity ID from the full configuration name.
ConfigEntityStorageInterface::updateFromStorageRecord function core/lib/Drupal/Core/Config/Entity/ConfigEntityStorageInterface.php Updates a configuration entity from storage values.
ConfigFormBase::loadDefaultValuesFromConfig function core/lib/Drupal/Core/Form/ConfigFormBase.php Process callback to recursively load default values from #config_target.
ConfigMapperInterface::getLangcodeFromConfig function core/modules/config_translation/src/ConfigMapperInterface.php Returns the language code of a configuration object given its name.
ConfigMapperInterface::populateFromRouteMatch function core/modules/config_translation/src/ConfigMapperInterface.php Populate the config mapper with route match data.
ConfigNamesMapper::getLangcodeFromConfig function core/modules/config_translation/src/ConfigNamesMapper.php Returns the language code of a configuration object given its name.
ConfigNamesMapper::populateFromRouteMatch function core/modules/config_translation/src/ConfigNamesMapper.php Populate the config mapper with route match data.
ConfigNamesMapperTest::testPopulateFromRouteMatch function core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php Tests ConfigNamesMapper::populateFromRouteMatch().
ConfigTarget::$fromConfig property core/lib/Drupal/Core/Form/ConfigTarget.php Transforms a value loaded from config before it gets displayed by the form.
ConfigTarget::fromForm function core/lib/Drupal/Core/Form/ConfigTarget.php Gets the config target object for an element from a form array.
ConfigTarget::fromString function core/lib/Drupal/Core/Form/ConfigTarget.php Creates a ConfigTarget object.
ConfigTargetTest::providerTestFromFormException function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
ConfigTargetTest::testFromFormConfigTarget function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @covers ::fromForm
ConfigTargetTest::testFromFormException function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @covers ::fromForm
@dataProvider providerTestFromFormException
ConfigTargetTest::testFromFormString function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @covers ::fromForm
@covers ::fromString
ConfigTranslationOverviewAccess::getMapperFromRouteMatch function core/modules/config_translation/src/Access/ConfigTranslationOverviewAccess.php Gets a configuration mapper using a route match.
ConfigurableLanguage::createFromLangcode function core/modules/language/src/Entity/ConfigurableLanguage.php Creates a configurable language object from a langcode.
Connection::createConnectionOptionsFromUrl function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php
Connection::createConnectionOptionsFromUrl function core/lib/Drupal/Core/Database/Connection.php Creates an array of database connection options from a URL.
Connection::createUrlFromConnectionOptions function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php
Connection::createUrlFromConnectionOptions function core/lib/Drupal/Core/Database/Connection.php Creates a URL from an array of database connection options.
Connection::findCallerFromDebugBacktrace function core/lib/Drupal/Core/Database/Connection.php Determine the last non-database method that called the database API.
Connection::removeDatabaseEntriesFromDebugBacktrace function core/lib/Drupal/Core/Database/Connection.php Removes database related calls from a backtrace array.
ConnectionTest::providerCreateConnectionOptionsFromUrl function core/modules/sqlite/tests/src/Unit/ConnectionTest.php Data provider for testCreateConnectionOptionsFromUrl.
ConnectionTest::testCreateConnectionOptionsFromUrl function core/modules/sqlite/tests/src/Unit/ConnectionTest.php @covers ::createConnectionOptionsFromUrl
@dataProvider providerCreateConnectionOptionsFromUrl
ConnectionTest::testFindCallerFromDebugBacktrace function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests that the proper caller is retrieved from the backtrace.
ConnectionTest::testFindCallerFromDebugBacktraceWithMockedBacktrace function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests that a log called by a custom database driver returns proper caller.
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::getBundleFromClass function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Retrieves the bundle name for a provided class name.
ContentEntityStorageBase::getBundleFromValues function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Retrieves the bundle from an array of values.
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.
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
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().

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