Search for id

  1. Search 7.x for id
  2. Search 8.9.x for id
  3. Search 10.3.x for id
  4. Search 11.x for id
  5. Other projects
Title Object type File name Summary
FileItem::validateMaxFilesize function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Form API callback.
FileItemValidationTest class core/modules/file/tests/src/Kernel/FileItemValidationTest.php Tests that files referenced in file and image fields are always validated.
FileItemValidationTest.php file core/modules/file/tests/src/Kernel/FileItemValidationTest.php
FileItemValidationTest::$modules property core/modules/file/tests/src/Kernel/FileItemValidationTest.php Modules to enable.
FileItemValidationTest::$user property core/modules/file/tests/src/Kernel/FileItemValidationTest.php A user.
FileItemValidationTest::getFileTypes function core/modules/file/tests/src/Kernel/FileItemValidationTest.php Provides a list of file types to test.
FileItemValidationTest::setUp function core/modules/file/tests/src/Kernel/FileItemValidationTest.php
FileItemValidationTest::testFileValidationConstraint function core/modules/file/tests/src/Kernel/FileItemValidationTest.php @covers \Drupal\file\Plugin\Validation\Constraint\FileValidationConstraint
@covers \Drupal\file\Plugin\Validation\Constraint\FileValidationConstraintValidator
@dataProvider getFileTypes
FileManagedFileElementTest::getLastFileId function core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php Retrieves the fid of the last inserted file.
FileManagedFileElementTest::testUnusedPermanentFileValidation function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Verify that unused permanent files can be used.
FileMediaFormatterTestBase::dataProvider function core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php Data provider for testRender.
FileModuleTestForm::getFormId function core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php Returns a unique string identifying the form.
FilePathTest::providerTestFilePath function core/modules/migrate_drupal_ui/tests/src/Functional/d7/FilePathTest.php Data provider of test dates for file path test.
FileRepositoryTest::testInvalidStreamWrapper function core/modules/file/tests/src/Kernel/FileRepositoryTest.php Tests for an invalid stream wrapper.
FileRequiredTestForm::getFormId function core/modules/file/tests/file_test/src/Form/FileRequiredTestForm.php Returns a unique string identifying the form.
FileResourceTestBase::$entityTypeId property core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php The tested entity type.
FileSelection::validateReferenceableNewEntities function core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php Validates which newly created entities can be referenced.
FileServiceProvider class core/modules/file/src/FileServiceProvider.php Adds 'application/octet-stream' as a known (bin) format.
FileServiceProvider.php file core/modules/file/src/FileServiceProvider.php
FileServiceProvider::alter function core/modules/file/src/FileServiceProvider.php Modifies existing service definitions.
FileSystemForm::getFormId function core/modules/system/src/Form/FileSystemForm.php Returns a unique string identifying the form.
FileSystemModuleDiscoveryDataProviderTrait trait core/tests/Drupal/KernelTests/FileSystemModuleDiscoveryDataProviderTrait.php A trait used in testing for providing a list of modules in a dataProvider.
FileSystemModuleDiscoveryDataProviderTrait.php file core/tests/Drupal/KernelTests/FileSystemModuleDiscoveryDataProviderTrait.php
FileSystemModuleDiscoveryDataProviderTrait::coreModuleListDataProvider function core/tests/Drupal/KernelTests/FileSystemModuleDiscoveryDataProviderTrait.php A data provider that lists every module in core.
FileSystemTest::providerTestBasename function core/tests/Drupal/Tests/Core/File/FileSystemTest.php
FileSystemTest::testInvalidUTF8 function core/tests/Drupal/Tests/Core/File/FileSystemTest.php Tests that invalid UTF-8 results in an exception.
FileTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/FileTest.php The tested entity type.
FileTest::providerSource function core/modules/file/tests/src/Kernel/Plugin/migrate/source/d6/FileTest.php The data provider.
FileTest::providerSource function core/modules/file/tests/src/Kernel/Plugin/migrate/source/d7/FileTest.php The data provider.
FileTest::testPostIndividual function core/modules/jsonapi/tests/src/Functional/FileTest.php Tests POSTing an individual resource, plus edge cases to ensure good DX.
FileTestForm::getFormId function core/modules/file/tests/file_test/src/Form/FileTestForm.php Returns a unique string identifying the form.
FileTestForm::validateForm function core/modules/file/tests/file_test/src/Form/FileTestForm.php Form validation handler.
FileTestSaveUploadFromForm::getFormId function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Returns a unique string identifying the form.
FileTestSaveUploadFromForm::validateForm function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Form validation handler.
FileTransferAuthorizeForm::getFormId function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Returns a unique string identifying the form.
FileTransferAuthorizeForm::validateForm function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Form validation handler.
FileTransferAuthorizeFormTest::archiveFileUrlProvider function core/modules/update/tests/src/Functional/FileTransferAuthorizeFormTest.php Data provider method for testViaAuthorize().
FileUpload::validateAndLoadFieldDefinition function core/modules/jsonapi/src/Controller/FileUpload.php Validates and loads a field definition instance.
FileUploadForm::getFormId function core/modules/media_library/src/Form/FileUploadForm.php Returns a unique string identifying the form.
FileUploadForm::hideExtraSourceFieldComponents function core/modules/media_library/src/Form/FileUploadForm.php Processes an image or file source field element.
FileUploadForm::validateUploadElement function core/modules/media_library/src/Form/FileUploadForm.php Validates the upload element.
FileUploadHandler::handleExtensionValidation function core/modules/file/src/Upload/FileUploadHandler.php Gets the list of allowed extensions and updates the validators.
FileUploadJsonCookieTest::$entityTypeId property core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php Entity type ID for this storage.
FileUploadResource::generateLockIdFromFileUri function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Generates a lock ID based on the file URI.
FileUploadResource::getUploadValidators function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Retrieves the upload validators for a field definition.
FileUploadResource::validate function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Validates the file.
FileUploadResource::validateAndLoadFieldDefinition function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Validates and loads a field definition instance.
FileUploadResource::validateAndParseContentDispositionHeader function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Validates and extracts the filename from the Content-Disposition header.
FileUploadResourceTestBase::$resourceConfigId property core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php The REST Resource Config entity ID under test (i.e. a resource type).
FileUploadResourceTestBase::testFileUploadInvalidFileType function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload route with an invalid file type.

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