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 10.3.x for format
  5. Other projects
Title Object type File name Summary
field_third_party_test_field_formatter_settings_summary_alter function core/modules/field/tests/modules/field_third_party_test/field_third_party_test.module Implements hook_field_formatter_settings_summary_alter().
field_third_party_test_field_formatter_third_party_settings_form function core/modules/field/tests/modules/field_third_party_test/field_third_party_test.module Implements hook_field_formatter_third_party_settings_form().
FileAccessFormatterControlHandlerInterface interface core/modules/file/src/FileAccessFormatterControlHandlerInterface.php Defines an interface for file access handlers that need to run on file formatters.
FileAccessFormatterControlHandlerInterface.php file core/modules/file/src/FileAccessFormatterControlHandlerInterface.php
FileAudioFormatter class core/modules/file/src/Plugin/Field/FieldFormatter/FileAudioFormatter.php Plugin implementation of the 'file_audio' formatter.
FileAudioFormatter.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileAudioFormatter.php
FileAudioFormatter::getMediaType function core/modules/file/src/Plugin/Field/FieldFormatter/FileAudioFormatter.php Gets the applicable media type for a formatter.
FileAudioFormatterTest class core/modules/file/tests/src/Functional/Formatter/FileAudioFormatterTest.php @coversDefaultClass \Drupal\file\Plugin\Field\FieldFormatter\FileAudioFormatter
@group file
FileAudioFormatterTest.php file core/modules/file/tests/src/Functional/Formatter/FileAudioFormatterTest.php
FileAudioFormatterTest::$defaultTheme property core/modules/file/tests/src/Functional/Formatter/FileAudioFormatterTest.php The theme to install as the default for testing.
FileAudioFormatterTest::testRender function core/modules/file/tests/src/Functional/Formatter/FileAudioFormatterTest.php @covers ::viewElements
FileEntityFormatterTest class core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the default file formatter.
FileEntityFormatterTest.php file core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php
FileEntityFormatterTest::$files property core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php The files.
FileEntityFormatterTest::$fileUrlGenerator property core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php The file URL generator.
FileEntityFormatterTest::$modules property core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Modules to install.
FileEntityFormatterTest::setUp function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php
FileEntityFormatterTest::testFormatterFileExtension function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_extension field formatter.
FileEntityFormatterTest::testFormatterFileLink function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_link field formatter.
FileEntityFormatterTest::testFormatterFileLinkWithQueryString function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_link field formatter using a query string.
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.

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