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
AddFormBase::createMediaFromValue function core/modules/media_library/src/Form/AddFormBase.php Creates a new, unsaved media item from a source field value.
AjaxTestDialogForm::modalFromUrl function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php AJAX callback handler for Url modal, AjaxTestDialogForm.
AnnotatedClassDiscovery::getProviderFromNamespace function core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php Extracts the provider name from a Drupal namespace.
AssertViewsCacheTagsTrait::assertViewsCacheTagsFromStaticRenderArray function core/modules/views/src/Tests/AssertViewsCacheTagsTrait.php Asserts a view's result & render cache items' cache tags.
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.
BlockAccessControlHandler::mergeCacheabilityFromConditions function core/modules/block/src/BlockAccessControlHandler.php Merges cacheable metadata from conditions onto the access result object.
BlockTest::testAddBlockFromLibraryWithWeight function core/modules/block/tests/src/Functional/BlockTest.php Tests adding a block from the library page with a weight query string.
BookManager::deleteFromBook function core/modules/book/src/BookManager.php
BookManager::deleteFromBook function core/modules/book/src/ProxyClass/BookManager.php
BookManagerInterface::deleteFromBook function core/modules/book/src/BookManagerInterface.php Deletes node's entry from book table.
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
@dataProvider providerTestCreateFromRenderArray
BulkForm::loadEntityFromBulkFormKey function core/modules/views/src/Plugin/views/field/BulkForm.php Loads an entity based on a bulk form key.
BundleClassTest::testEntityClassNotTakenFromActiveDefinitions function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Tests that a module can override an entity-type class.
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
@dataProvider providerTestCreateFromObject
CacheableMetadataTest::testCreateFromRenderArray function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @covers ::createFromRenderArray
@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.
CKEditor5ImageController::generateLockIdFromFileUri function core/modules/ckeditor5/src/Controller/CKEditor5ImageController.php Generates a lock ID based on the file URI.
ClassLoaderTest::testAutoloadFromModuleFile function core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php Tests that .module files can use class constants in main section.
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
@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/modules/sdc/src/ComponentPluginManager.php Creates the library declaration array from a component definition.
ComponentPluginManager::libraryFromDefinition function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Creates the library declaration array from a component definition.
ComponentValidatorTest::loadComponentDefinitionFromFs function core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php Loads a component definition from the component name.
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

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