Search for format

  1. Search 7.x for format
  2. Search 9.5.x for format
  3. Search 8.9.x for format
  4. Search 11.x for format
  5. Other projects
Title Object type File name Summary
FileEntityFormatterTest::testFormatterFileMime function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_extension field formatter.
FileEntityFormatterTest::testFormatterFileSize function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_size field formatter.
FileEntityFormatterTest::testFormatterFileUri function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_link field formatter.
FileExtensionFormatter class core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php Formatter to render a filename as file extension.
FileExtensionFormatter.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php
FileExtensionFormatter::defaultSettings function core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php Defines the default settings for this plugin.
FileExtensionFormatter::isApplicable function core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php Returns if the formatter can be used for the provided field.
FileExtensionFormatter::settingsForm function core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php Returns a form to configure settings for the formatter.
FileExtensionFormatter::viewValue function core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php Generate the output appropriate for one field item.
FileField::getFieldFormatterMap function core/modules/file/src/Plugin/migrate/field/d6/FileField.php Get a map between D6 formatters and D8 formatters for this field type.
FileFieldFormatterAccessTest class core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php Tests file formatter access.
@group file
FileFieldFormatterAccessTest.php file core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php
FileFieldFormatterAccessTest::$defaultTheme property core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php The theme to install as the default for testing.
FileFieldFormatterAccessTest::$modules property core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php Modules to install.
FileFieldFormatterAccessTest::testFileAccessHandler function core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php Tests the custom access handler is invoked.
FileFormatterBase class core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php Base class for file formatters.
FileFormatterBase.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php
FileFormatterBase::checkAccess function core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php Checks access to the given entity.
FileFormatterBase::needsEntityLoad function core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php Returns whether the entity referenced by an item needs to be loaded.
FileJsonAnonTest::$format property core/modules/file/tests/src/Functional/Rest/FileJsonAnonTest.php The format to use in this test.
FileJsonBasicAuthTest::$format property core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php The format to use in this test.
FileJsonCookieTest::$format property core/modules/file/tests/src/Functional/Rest/FileJsonCookieTest.php The format to use in this test.
FileMediaFormatterBase class core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Base class for media file formatter.
FileMediaFormatterBase.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php
FileMediaFormatterBase::defaultSettings function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Defines the default settings for this plugin.
FileMediaFormatterBase::getHtmlTag function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Gets the HTML tag for the formatter.
FileMediaFormatterBase::getSourceFiles function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Gets source files with attributes.
FileMediaFormatterBase::isApplicable function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Returns if the formatter can be used for the provided field.
FileMediaFormatterBase::mimeTypeApplies function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Check if given MIME type applies to the media type of the formatter.
FileMediaFormatterBase::prepareAttributes function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Prepare the attributes according to the settings.
FileMediaFormatterBase::settingsForm function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Returns a form to configure settings for the formatter.
FileMediaFormatterBase::settingsSummary function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Returns a short summary for the current formatter settings.
FileMediaFormatterBase::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Builds a renderable array for a field value.
FileMediaFormatterInterface interface core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterInterface.php Defines getter methods for FileMediaFormatterBase.
FileMediaFormatterInterface.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterInterface.php
FileMediaFormatterInterface::getMediaType function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterInterface.php Gets the applicable media type for a formatter.
FileMediaFormatterTestBase class core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php Provides methods specifically for testing File module's media formatter's.
FileMediaFormatterTestBase.php file core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php
FileMediaFormatterTestBase::$modules property core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php Modules to install.
FileMediaFormatterTestBase::createMediaField function core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php Creates a file field and set's the correct formatter.
FileMediaFormatterTestBase::dataProvider function core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php Data provider for testRender.
FileMediaFormatterTestBase::setUp function core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php
FilemimeFormatter class core/modules/file/src/Plugin/Field/FieldFormatter/FilemimeFormatter.php Formatter to render the file MIME type, with an optional icon.
FilemimeFormatter.php file core/modules/file/src/Plugin/Field/FieldFormatter/FilemimeFormatter.php
FilemimeFormatter::defaultSettings function core/modules/file/src/Plugin/Field/FieldFormatter/FilemimeFormatter.php Defines the default settings for this plugin.
FilemimeFormatter::isApplicable function core/modules/file/src/Plugin/Field/FieldFormatter/FilemimeFormatter.php Returns if the formatter can be used for the provided field.
FilemimeFormatter::settingsForm function core/modules/file/src/Plugin/Field/FieldFormatter/FilemimeFormatter.php Returns a form to configure settings for the formatter.
FilemimeFormatter::viewValue function core/modules/file/src/Plugin/Field/FieldFormatter/FilemimeFormatter.php Generate the output appropriate for one field item.
FileSystemForm::$dateFormatter property core/modules/system/src/Form/FileSystemForm.php The date formatter service.
FileUploadJsonBasicAuthTest::$format property core/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php The format to use in this test.

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