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
AnnotatedClassDiscovery::getProviderFromNamespace function core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php Extracts the provider name from a Drupal namespace.
AttachedAssets::createFromRenderArray function core/lib/Drupal/Core/Asset/AttachedAssets.php Creates an AttachedAssetsInterface object from a render array.
AttachedAssetsInterface::createFromRenderArray function core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php Creates an AttachedAssetsInterface object from a render array.
AttributeClassDiscovery::getProviderFromNamespace function core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php Extracts the provider name from a Drupal namespace.
BaseFieldDefinition::createFromFieldStorageDefinition function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Creates a new field definition based upon a field storage definition.
BaseFieldDefinition::createFromItemType function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Creates a new list data definition for items of the given data type.
BaseFieldDefinition::getInitialValueFromField function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the name of the field that will be used for getting initial values.
BaseFieldDefinition::setInitialValueFromField function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets a field that will be used for getting initial values.
BaseFieldOverride::createFromBaseFieldDefinition function core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php Creates a base field override object.
BubbleableMetadata::createFromObject function core/lib/Drupal/Core/Render/BubbleableMetadata.php Creates a bubbleable metadata object from a depended object.
BubbleableMetadata::createFromRenderArray function core/lib/Drupal/Core/Render/BubbleableMetadata.php Creates a bubbleable metadata object with values taken from a render array.
BubbleableMetadataTest::providerTestCreateFromRenderArray function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Provides test data for createFromRenderArray().
BubbleableMetadataTest::testCreateFromRenderArray function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php @covers ::createFromRenderArray[[api-linebreak]]
@dataProvider providerTestCreateFromRenderArray
BundleEntityStorageInterface::getBundleFromClass function core/lib/Drupal/Core/Entity/BundleEntityStorageInterface.php Retrieves the bundle name for a provided class name.
CacheableMetadata::createFromObject function core/lib/Drupal/Core/Cache/CacheableMetadata.php Creates a CacheableMetadata object from a depended object.
CacheableMetadata::createFromRenderArray function core/lib/Drupal/Core/Cache/CacheableMetadata.php Creates a CacheableMetadata object with values taken from a render array.
CacheableMetadataTest::providerTestCreateFromObject function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Provides test data for createFromObject().
CacheableMetadataTest::providerTestCreateFromRenderArray function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Provides test data for createFromRenderArray().
CacheableMetadataTest::testCreateFromObject function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @covers ::createFromObject[[api-linebreak]]
@dataProvider providerTestCreateFromObject
CacheableMetadataTest::testCreateFromRenderArray function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @covers ::createFromRenderArray[[api-linebreak]]
@dataProvider providerTestCreateFromRenderArray
CacheableSecuredRedirectResponse::fromResponse function core/lib/Drupal/Core/Routing/CacheableSecuredRedirectResponse.php Copies over the values from the given response.
CacheCollectorTest::testGetFromCache function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests returning value from the collected cache.
CallableResolver::getCallableFromDefinition function core/lib/Drupal/Core/Utility/CallableResolver.php Gets a callable from a definition.
CheckpointStorage::$readFromCheckpoint property core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php The checkpoint to read from.
CheckpointStorage::getCheckpointsToReadFrom function core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php Gets the checkpoints to read from.
CheckpointStorage::setCheckpointToReadFrom function core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php Sets the checkpoint to read from.
CheckpointStorageInterface::setCheckpointToReadFrom function core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorageInterface.php Sets the checkpoint to read from.
ClassResolver::getInstanceFromDefinition function core/lib/Drupal/Core/DependencyInjection/ClassResolver.php Returns a class instance with a given class definition.
ClassResolverInterface::getInstanceFromDefinition function core/lib/Drupal/Core/DependencyInjection/ClassResolverInterface.php Returns a class instance with a given class definition.
ClientFactory::fromOptions function core/lib/Drupal/Core/Http/ClientFactory.php Constructs a new client object from some configuration.
ClientFactoryTest::providerTestCreateFromOptions function core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php Data provider for testCreateFromOptions.
ClientFactoryTest::testCreateFromOptions function core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php @covers ::fromOptions[[api-linebreak]]
@dataProvider providerTestCreateFromOptions
CodeBlock::parseLanguagesFromValue function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php Parses the line-based (for form) Code Block configuration.
ComponentPluginManager::libraryFromDefinition function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Creates the library declaration array from a component definition.
ComponentValidatorTest::loadComponentDefinitionFromFs function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Loads a component definition from the component name.
ComposerPatchesValidatorTest::REQUIRE_PACKAGE_FROM_ROOT constant core/modules/package_manager/tests/src/Kernel/ComposerPatchesValidatorTest.php
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.
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[[api-linebreak]]
ConfigTargetTest::testFromFormException function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @covers ::fromForm[[api-linebreak]]
@dataProvider providerTestFromFormException

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