Search for from

  1. Search 7.x for from
  2. Search 8.9.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
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[[api-linebreak]]
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[[api-linebreak]]
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.
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.
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[[api-linebreak]]
EntityTypeRepositoryTest::testGetEntityTypeFromClassAmbiguous function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass[[api-linebreak]]
EntityTypeRepositoryTest::testGetEntityTypeFromClassNoMatch function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass[[api-linebreak]]
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[[api-linebreak]]
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.
FieldWebTest::clickSortLoadIdsFromOutput function core/modules/views/tests/src/Functional/Handler/FieldWebTest.php Small helper function to get all ids in the output.
FormAjaxSubscriberTest::assertResponseFromException function core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php Asserts that the expected response is derived from the given exception.
FormatDateTest::testMigrateExceptionMissingFromFormat function core/modules/migrate/tests/src/Unit/process/FormatDateTest.php Tests that missing configuration will throw an exception.
FormErrorHandler::setElementErrorsFromFormState function core/lib/Drupal/Core/Form/FormErrorHandler.php Stores errors and a list of child element errors directly on each element.
FormErrorHandlerTest::testSetElementErrorsFromFormState function core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php @covers ::handleFormErrors[[api-linebreak]]
@covers ::setElementErrorsFromFormState[[api-linebreak]]
FunctionalTestSetupTrait::installDefaultThemeFromClassProperty function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Installs the default theme defined by `static::$defaultTheme` when needed.
FunctionalTestSetupTrait::installModulesFromClassProperty function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Install modules defined by `static::$modules`.
HTMLRestrictions::fromFilterPluginInstance function core/modules/ckeditor5/src/HTMLRestrictions.php Constructs a set of HTML restrictions matching the given text format.
HTMLRestrictions::fromObjectWithHtmlRestrictions function core/modules/ckeditor5/src/HTMLRestrictions.php Constructs a set of HTML restrictions matching the given object.
HTMLRestrictions::fromString function core/modules/ckeditor5/src/HTMLRestrictions.php Parses a string of HTML restrictions into a HTMLRestrictions value object.

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