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
EntityContextDefinition::fromEntityTypeId function core/lib/Drupal/Core/Plugin/Context/EntityContextDefinition.php Creates a context definition from a given entity type ID.
EntityDataDefinition::createFromDataType function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php Creates a new data definition object.
EntityDefinitionUpdateProviderTest::initialValueFromFieldTestCases function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php Test cases for ::testInitialValueFromField.
EntityDefinitionUpdateProviderTest::testInitialValueFromField function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php Tests adding a base field with initial values inherited from another field.
EntityDefinitionUpdateTest::testInitialValueFromFieldErrorHandling function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests the error handling when using initial values from another field.
EntityDisplayFormBase::getEntityFromRouteMatch function core/modules/field_ui/src/Form/EntityDisplayFormBase.php Determines which entity will be used by this form from a RouteMatch object.
EntityFieldDefinitionTrait::getDefinitionFromEntity function core/modules/migrate/src/EntityFieldDefinitionTrait.php Gets the field definition from a specific entity base field.
EntityFieldManagerTest::testGetFieldMapFromCache function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php @covers ::getFieldMap
EntityForm::getEntityFromRouteMatch function core/lib/Drupal/Core/Entity/EntityForm.php Determines which entity will be used by this form from a RouteMatch object.
EntityFormDisplay::flagWidgetsErrorsFromViolations function core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php Flags entity validation violations as form errors.
EntityFormDisplayInterface::flagWidgetsErrorsFromViolations function core/lib/Drupal/Core/Entity/Display/EntityFormDisplayInterface.php Flags entity validation violations as form errors.
EntityFormDisplayTest::testEntityGetFromDisplay function core/modules/field_ui/tests/src/Kernel/EntityFormDisplayTest.php @covers \Drupal\Core\Entity\EntityDisplayRepository::getFormDisplay
EntityFormInterface::getEntityFromRouteMatch function core/lib/Drupal/Core/Entity/EntityFormInterface.php Determines which entity will be used by this form from a RouteMatch object.
EntityFormTest::testGetEntityFromRouteMatchAdd function core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php Tests EntityForm::getEntityFromRouteMatch() for add forms without a bundle.
EntityFormTest::testGetEntityFromRouteMatchAddEntity function core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php Tests EntityForm::getEntityFromRouteMatch() with a config entity bundle.
EntityFormTest::testGetEntityFromRouteMatchAddStatic function core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php Tests EntityForm::getEntityFromRouteMatch() with a static bundle.
EntityFormTest::testGetEntityFromRouteMatchEditDelete function core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php Tests EntityForm::getEntityFromRouteMatch() for edit and delete forms.
EntityMethodConfigActionsTest::testRemoveComponentFromDisplay function core/tests/Drupal/KernelTests/Core/Recipe/EntityMethodConfigActionsTest.php @testWith ["hideComponent"]
["hideComponents"]
EntityOperations::updateOrCreateFromEntity function core/modules/content_moderation/src/EntityOperations.php Creates or updates the moderation state of an entity.
EntityRepository::getContentLanguageFromContexts function core/lib/Drupal/Core/Entity/EntityRepository.php Retrieves the current content language from the specified contexts.
EntityRepository::getTranslationFromContext function core/lib/Drupal/Core/Entity/EntityRepository.php Gets the entity translation to be used in the given context.
EntityRepositoryInterface::getTranslationFromContext function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Gets the entity translation to be used in the given context.
EntityRepositoryTest::testGetTranslationFromContext function core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php Tests the getTranslationFromContext() method.
EntityResolverManager::setParametersFromEntityInformation function core/lib/Drupal/Core/Entity/EntityResolverManager.php Sets the upcasting information using the _entity_* route defaults.
EntityResolverManager::setParametersFromReflection function core/lib/Drupal/Core/Entity/EntityResolverManager.php Sets the upcasting information using reflection.
EntityResource::getEntityFromResourceIdentifier function core/modules/jsonapi/src/Controller/EntityResource.php Loads the entity targeted by a resource identifier.
EntityResource::removeFromRelationshipData function core/modules/jsonapi/src/Controller/EntityResource.php Deletes the relationship of an entity.
EntityStorageBase::getFromStaticCache function core/lib/Drupal/Core/Entity/EntityStorageBase.php Gets entities from the static cache.
EntityStorageBase::mapFromStorageRecords function core/lib/Drupal/Core/Entity/EntityStorageBase.php Maps from storage records to entity objects.
EntityTypeRepository::getEntityTypeFromClass function core/lib/Drupal/Core/Entity/EntityTypeRepository.php Gets the entity type ID based on the class that is called on.
EntityTypeRepositoryInterface::getEntityTypeFromClass function core/lib/Drupal/Core/Entity/EntityTypeRepositoryInterface.php Gets the entity type ID based on the class that is called on.
EntityTypeRepositoryTest::testGetEntityTypeFromClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass
EntityTypeRepositoryTest::testGetEntityTypeFromClassAmbiguous function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass
EntityTypeRepositoryTest::testGetEntityTypeFromClassAmbiguousBundleClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass
EntityTypeRepositoryTest::testGetEntityTypeFromClassNoMatch function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass
ExtensionDiscovery::setProfileDirectoriesFromSettings function core/lib/Drupal/Core/Extension/ExtensionDiscovery.php Sets installation profile directories based on current site settings.
ExtensionVersion::createFromSupportBranch function core/lib/Drupal/Core/Extension/ExtensionVersion.php Constructs an ExtensionVersion version object from a support branch.
ExtensionVersion::createFromVersionString function core/lib/Drupal/Core/Extension/ExtensionVersion.php Constructs an extension version object from a version string.
ExtensionVersionTest::providerCreateFromSupportBranch function core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php Data provider for testCreateFromSupportBranch().
ExtensionVersionTest::testCreateFromSupportBranch function core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php @covers ::createFromSupportBranch
FieldConfigBase::createFromDataType function core/lib/Drupal/Core/Field/FieldConfigBase.php Creates a new data definition object.
FieldConfigBase::createFromItemType function core/lib/Drupal/Core/Field/FieldConfigBase.php Creates a new list data definition for items of the given data type.
FieldConfigStorageBase::mapFromStorageRecords function core/lib/Drupal/Core/Field/FieldConfigStorageBase.php Maps from storage records to entity objects.
FieldDefinition::createFromFieldStorageDefinition function core/lib/Drupal/Core/Field/FieldDefinition.php Creates a new field definition.
FieldItemBase::fieldSettingsFromConfigData function core/lib/Drupal/Core/Field/FieldItemBase.php Returns a settings array in the field type's canonical representation.
FieldItemBase::storageSettingsFromConfigData function core/lib/Drupal/Core/Field/FieldItemBase.php Returns a settings array in the field type's canonical representation.
FieldItemDataDefinition::createFromDataType function core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php Creates a new data definition object.
FieldItemInterface::fieldSettingsFromConfigData function core/lib/Drupal/Core/Field/FieldItemInterface.php Returns a settings array in the field type's canonical representation.
FieldItemInterface::storageSettingsFromConfigData function core/lib/Drupal/Core/Field/FieldItemInterface.php Returns a settings array in the field type's canonical representation.
FieldStorageConfigEditForm::getEntityFromRouteMatch function core/modules/field_ui/src/Form/FieldStorageConfigEditForm.php Determines which entity will be used by this form from a RouteMatch object.

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