Search for id

  1. Search 7.x for id
  2. Search 9.5.x for id
  3. Search 8.9.x for id
  4. Search 11.x for id
  5. Other projects
Title Object type File name Summary
FileValidatorSettingsTrait::getFileUploadValidators function core/modules/file/src/Validation/FileValidatorSettingsTrait.php Gets the upload validators for the specified settings.
FileValidatorTest class core/modules/file/tests/src/Kernel/Validation/FileValidatorTest.php Tests the file validator.
FileValidatorTest.php file core/modules/file/tests/src/Kernel/Validation/FileValidatorTest.php
FileValidatorTest::$modules property core/modules/file/tests/src/Kernel/Validation/FileValidatorTest.php
FileValidatorTest::testValidate function core/modules/file/tests/src/Kernel/Validation/FileValidatorTest.php Tests the validator.
FileValidatorTestBase class core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php Provides a base file constraint validator test.
FileValidatorTestBase.php file core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php
FileValidatorTestBase::$file property core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php The file.
FileValidatorTestBase::$modules property core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php
FileValidatorTestBase::$validator property core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php The file validator.
FileValidatorTestBase::setUp function core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php
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
FileVideoFormatter::getMediaType function core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php
FileVideoFormatter::prepareAttributes function core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php
FileVideoFormatter::settingsForm function core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php
FileVideoFormatter::settingsSummary function core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php
FileVideoFormatterTest class core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php @coversDefaultClass \Drupal\file\Plugin\Field\FieldFormatter\FileVideoFormatter
@group file
@group #slow
FileVideoFormatterTest.php file core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php
FileVideoFormatterTest::$defaultTheme property core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php
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
FileWidget::defaultSettings function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
FileWidget::extractFormValues function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
FileWidget::flagErrors function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
FileWidget::formElement function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
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
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
FileWidget::settingsSummary function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
FileWidget::submit function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Form submission handler for upload/remove button of formElement().
FileWidget::validateMultipleCount function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Validates the number of uploaded files.
FileWidget::value function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Form API callback. Retrieves the value for the file_generic field element.
FileWidget::__construct function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
FileWidgetAjaxController class core/modules/file/src/Controller/FileWidgetAjaxController.php Defines a controller to respond to file widget AJAX requests.
FileWidgetAjaxController.php file core/modules/file/src/Controller/FileWidgetAjaxController.php
FileWidgetAjaxController::progress function core/modules/file/src/Controller/FileWidgetAjaxController.php Returns the progress status for a file upload process.
file_field_widget_info_alter function core/modules/file/file.module Implements hook_field_widget_info_alter().
file_test_get_ids.info.yml file core/modules/file/tests/modules/file_test_get_ids/file_test_get_ids.info.yml core/modules/file/tests/modules/file_test_get_ids/file_test_get_ids.info.yml
file_test_validator function core/modules/file/tests/file_test/file_test.module Helper validator that returns the $errors parameter.
file_validate function core/modules/file/file.module Checks that a file meets the criteria specified by the validators.
file_validate_extensions function core/modules/file/file.module Checks that the filename ends with an allowed extension.

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