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
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.
FieldUiJSTestTrait::getFieldFromGroupJS function core/modules/field_ui/tests/src/Traits/FieldUiJSTestTrait.php Helper function that returns the field card element if it is in a group.
FieldUiTestTrait::getFieldFromGroup function core/modules/field_ui/tests/src/Traits/FieldUiTestTrait.php Helper function that returns the name of the group that a field is in.
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.
FileTestForm::fileExistsFromName function core/modules/file/tests/file_test/src/Form/FileTestForm.php Get a FileExists enum from its name.
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::fileExistsFromName function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Get a FileExists enum from its name.
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 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`.
GenerateThemeTest::generateThemeFromStarterkit function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Generates PHP process to generate a theme from core's starterkit theme.
GenerateThemeTest::generateThemeFromStarterkit function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php Generates PHP process to generate a theme from core's starterkit theme.
GenerateThemeTest::testGeneratingFromAnotherTheme function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php Tests generating a theme from another Starterkit enabled theme.
GenerateThemeTest::testGeneratingFromAnotherTheme function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests generating a theme from another Starterkit enabled theme.
GetDocumentFromResponseTrait trait core/modules/jsonapi/tests/src/Traits/GetDocumentFromResponseTrait.php Test trait for retrieving the JSON:API document from a response.
GetDocumentFromResponseTrait.php file core/modules/jsonapi/tests/src/Traits/GetDocumentFromResponseTrait.php
GetDocumentFromResponseTrait::getDocumentFromResponse function core/modules/jsonapi/tests/src/Traits/GetDocumentFromResponseTrait.php Retrieve document from response, with basic validation.
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/src/Plugin/Search/HelpSearch.php Removes an item or items from the search index.
HookCollectorPass::addFromAttribute function core/lib/Drupal/Core/Hook/HookCollectorPass.php Adds a Hook attribute implementation.
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.
HTMLRestrictions::fromTextFormat function core/modules/ckeditor5/src/HTMLRestrictions.php Constructs a set of HTML restrictions matching the given text format.
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.
InputTest::testDefaultValueFromConfig function core/tests/Drupal/KernelTests/Core/Recipe/InputTest.php
InputTest::testDefaultValueFromNonExistentConfig function core/tests/Drupal/KernelTests/Core/Recipe/InputTest.php
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.
InstalledPackage::createFromArray function core/modules/package_manager/src/InstalledPackage.php Create an installed package object from an array.

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