Search for from

  1. Search 7.x for from
  2. Search 9.5.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
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::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.
ExtractTest::testExtractFromString function core/modules/migrate/tests/src/Unit/process/ExtractTest.php Tests invalid input.
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.
FieldStorageConfigStorage::mapFromStorageRecords function core/modules/field/src/FieldStorageConfigStorage.php Maps from storage records to entity objects.
FieldWebTest::clickSortLoadIdsFromOutput function core/modules/views/tests/src/Functional/Handler/FieldWebTest.php Small helper function to get all ids in the output.
FileManagedFileElementTest::testFileRemovedFromDisk function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Ensure a file entity can be saved when the file does not exist on disk.
FileTestSaveUploadFromForm class core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php File test form class.
FileTestSaveUploadFromForm.php file core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php
FileTestSaveUploadFromForm::$messenger property core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php The messenger.
FileTestSaveUploadFromForm::$state property core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Stores the state storage service.
FileTestSaveUploadFromForm::buildForm function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Form constructor.
FileTestSaveUploadFromForm::create function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Instantiates a new instance of this class.
FileTestSaveUploadFromForm::getFormId function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Returns a unique string identifying the form.
FileTestSaveUploadFromForm::submitForm function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Form submission handler.
FileTestSaveUploadFromForm::validateForm function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Form validation handler.
FileTestSaveUploadFromForm::__construct function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Constructs a FileTestSaveUploadFromForm object.
FileUploadForm::createMediaFromValue function core/modules/media_library/src/Form/FileUploadForm.php Creates a new, unsaved media item from a source field value.
FileUploadResource::generateLockIdFromFileUri function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Generates a lock ID based on the file URI.
FileWidget::getDescriptionFromElement function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Retrieves the file description from a field field element.
Filter::createFromQueryParameter function core/modules/jsonapi/src/Query/Filter.php Creates a Sort object from a query parameter.
FilterTest::testCreateFromQueryParameter function core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php @covers ::createFromQueryParameter
@dataProvider parameterProvider
FilterTest::testCreateFromQueryParameterNested function core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php @covers ::createFromQueryParameter
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
@covers ::setElementErrorsFromFormState
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`.
Handler::getFileMappingsFromPackages function composer/Plugin/Scaffold/Handler.php Gets a consolidated list of file mappings from all allowed packages.
HelpSearch::removeItemsFromIndex function core/modules/help_topics/src/Plugin/Search/HelpSearch.php Removes an item or items from the search index.
InlineBlockTestBase::removeInlineBlockFromLayout function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php Removes an entity block from the layout but does not save the layout.
Insert::$fromQuery property core/lib/Drupal/Core/Database/Query/Insert.php A SelectQuery object to fetch the rows that should be inserted.
Insert::from function core/lib/Drupal/Core/Database/Query/Insert.php Sets the fromQuery on this InsertQuery object.
InstallHelper::importContentFromFile function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Imports content.
InvalidDataTest::testInsertDuplicateDataFromSelect function core/tests/Drupal/KernelTests/Core/Database/InvalidDataTest.php Tests inserting with invalid data from a select query.

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