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
FileUploadResourceTestBase::testPostFileUploadInvalidHeaders function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload POST route with invalid headers.
FileUploadSanitizeNameEventTest::provideFilenames function core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php Provides data for testEventFilenameFunctions().
FileUploadTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php
FileUploadTest::testDeleteIndividual function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php @requires module irrelevant_for_this_test
FileUploadTest::testFileUploadInvalidFileType function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload route with an invalid file type.
FileUploadTest::testGetIndividual function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php @requires module irrelevant_for_this_test
FileUploadTest::testPatchIndividual function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php @requires module irrelevant_for_this_test
FileUploadTest::testPostFileUploadInvalidHeaders function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload POST route with invalid headers.
FileUploadTest::testPostIndividual function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php @requires module irrelevant_for_this_test
FileUriUnique::validatedBy function core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php
FileUrlGeneratorTest::providerGenerateURI function core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php Data provider.
FileValidationConstraint class core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraint.php Validation File constraint.
FileValidationConstraint.php file core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraint.php
FileValidationConstraintValidator class core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php Checks that a file referenced in a file field is valid.
FileValidationConstraintValidator.php file core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php
FileValidationConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php
FileValidationException class core/modules/file/src/Upload/FileValidationException.php Provides an exception for upload validation errors.
FileValidationException.php file core/modules/file/src/Upload/FileValidationException.php
FileValidationException::$errors property core/modules/file/src/Upload/FileValidationException.php The validation errors.
FileValidationException::$fileName property core/modules/file/src/Upload/FileValidationException.php The file name.
FileValidationException::getErrors function core/modules/file/src/Upload/FileValidationException.php Gets the errors.
FileValidationException::getFilename function core/modules/file/src/Upload/FileValidationException.php Gets the file name.
FileValidationException::__construct function core/modules/file/src/Upload/FileValidationException.php Constructs a new FileValidationException.
FileVideoFormatter class core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php Plugin implementation of the 'file_video' formatter.
FileVideoFormatter.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php
FileVideoFormatter::defaultSettings function core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php Defines the default settings for this plugin.
FileVideoFormatter::getMediaType function core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php Gets the applicable media type for a formatter.
FileVideoFormatter::prepareAttributes function core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php Prepare the attributes according to the settings.
FileVideoFormatter::settingsForm function core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php Returns a form to configure settings for the formatter.
FileVideoFormatter::settingsSummary function core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php Returns a short summary for the current formatter settings.
FileVideoFormatterTest class core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php @coversDefaultClass \Drupal\file\Plugin\Field\FieldFormatter\FileVideoFormatter
@group file
FileVideoFormatterTest.php file core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php
FileVideoFormatterTest::$defaultTheme property core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php The theme to install as the default for testing.
FileVideoFormatterTest::testAttributes function core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php Tests that the attributes added to the formatter are applied on render.
FileVideoFormatterTest::testRender function core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php @covers ::viewElements
FileWidget class core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Plugin implementation of the 'file_generic' widget.
FileWidget.php file core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
FileWidget::$elementInfo property core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php The element info manager.
FileWidget::create function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Creates an instance of the plugin.
FileWidget::defaultSettings function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Defines the default settings for this plugin.
FileWidget::extractFormValues function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Extracts field values from submitted form values.
FileWidget::flagErrors function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Reports field-level validation errors against actual form elements.
FileWidget::formElement function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Returns the form for a single field widget.
FileWidget::formMultipleElements function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Overrides \Drupal\Core\Field\WidgetBase::formMultipleElements().
FileWidget::getDescriptionFromElement function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Retrieves the file description from a field element.
FileWidget::massageFormValues function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Massages the form values into the format expected for field values.
FileWidget::process function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Form API callback: Processes a file_generic field element.
FileWidget::processMultiple function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Form API callback: Processes a group of file_generic field elements.
FileWidget::settingsForm function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Returns a form to configure settings for the widget.
FileWidget::settingsSummary function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Returns a short summary for the current widget settings.

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