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
FormatterInterface.php file core/lib/Drupal/Core/Field/FormatterInterface.php
FormatterInterface::isApplicable function core/lib/Drupal/Core/Field/FormatterInterface.php Returns if the formatter can be used for the provided field.
FormatterInterface::prepareView function core/lib/Drupal/Core/Field/FormatterInterface.php Allows formatters to load information for field values being displayed.
FormatterInterface::settingsForm function core/lib/Drupal/Core/Field/FormatterInterface.php Returns a form to configure settings for the formatter.
FormatterInterface::settingsSummary function core/lib/Drupal/Core/Field/FormatterInterface.php Returns a short summary for the current formatter settings.
FormatterInterface::view function core/lib/Drupal/Core/Field/FormatterInterface.php Builds a renderable array for a fully themed field.
FormatterInterface::viewElements function core/lib/Drupal/Core/Field/FormatterInterface.php Builds a renderable array for a field value.
FormatterPluginManager class core/lib/Drupal/Core/Field/FormatterPluginManager.php Plugin type manager for field formatters.
FormatterPluginManager.php file core/lib/Drupal/Core/Field/FormatterPluginManager.php
FormatterPluginManager::$fieldTypeManager property core/lib/Drupal/Core/Field/FormatterPluginManager.php The field type manager to define field.
FormatterPluginManager::$formatterOptions property core/lib/Drupal/Core/Field/FormatterPluginManager.php An array of formatter options for each field type.
FormatterPluginManager::createInstance function core/lib/Drupal/Core/Field/FormatterPluginManager.php
FormatterPluginManager::getDefaultSettings function core/lib/Drupal/Core/Field/FormatterPluginManager.php Returns the default settings of a field formatter.
FormatterPluginManager::getInstance function core/lib/Drupal/Core/Field/FormatterPluginManager.php Overrides PluginManagerBase::getInstance().
FormatterPluginManager::getOptions function core/lib/Drupal/Core/Field/FormatterPluginManager.php Returns an array of formatter options for a field type.
FormatterPluginManager::prepareConfiguration function core/lib/Drupal/Core/Field/FormatterPluginManager.php Merges default values for formatter configuration.
FormatterPluginManager::__construct function core/lib/Drupal/Core/Field/FormatterPluginManager.php Constructs a FormatterPluginManager object.
FormatterPluginManagerTest class core/modules/field/tests/src/Kernel/FormatterPluginManagerTest.php Tests the field formatter plugin manager.
FormatterPluginManagerTest.php file core/modules/field/tests/src/Kernel/FormatterPluginManagerTest.php
FormatterPluginManagerTest::testNotApplicableFallback function core/modules/field/tests/src/Kernel/FormatterPluginManagerTest.php Tests that getInstance falls back on default if current is not applicable.
FullDate::$argFormat property core/modules/datetime/src/Plugin/views/argument/FullDate.php The date format used in the query.
FullDate::$argFormat property core/modules/views/src/Plugin/views/argument/FullDate.php The date format used in the query.
FullDate::$format property core/modules/views/src/Plugin/views/argument/FullDate.php The date format used in the title.
FundamentalCompatibilityConstraintValidator::getFiltersInFormatOfType function core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php Gets the filters of the given type in this text format.
GenericFileFormatter class core/modules/file/src/Plugin/Field/FieldFormatter/GenericFileFormatter.php Plugin implementation of the 'file_default' formatter.
GenericFileFormatter.php file core/modules/file/src/Plugin/Field/FieldFormatter/GenericFileFormatter.php
GenericFileFormatter::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/GenericFileFormatter.php Builds a renderable array for a field value.
HandlerBase::getDateFormat function core/modules/views/src/Plugin/views/HandlerBase.php Creates cross-database SQL date formatting.
HandlerFieldFieldTest::doTestFormatterSimpleFieldRender function core/modules/field/tests/src/Kernel/Views/HandlerFieldFieldTest.php Tests that fields with formatters runs as expected.
HelpTopicTwigTest::PLUGIN_INFORMATION constant core/modules/help/tests/src/Unit/HelpTopicTwigTest.php The plugin information to use for setting up a test topic.
hook_field_formatter_info_alter function core/modules/field/field.api.php Perform alterations on Field API formatter types.
hook_field_formatter_settings_summary_alter function core/modules/field_ui/field_ui.api.php Alters the field formatter settings summary.
hook_field_formatter_third_party_settings_form function core/modules/field_ui/field_ui.api.php Allow modules to add settings to field formatters provided by other modules.
hook_filter_format_disable function core/modules/filter/filter.api.php Perform actions when a text format has been disabled.
hook_user_format_name_alter function core/modules/user/user.api.php Alter the username that is displayed for a user.
HtmlResponseAttachmentsProcessor::formatHttpHeaderAttributes function core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php Formats an attribute string for an HTTP header.
HTMLRestrictions::fromTextFormat function core/modules/ckeditor5/src/HTMLRestrictions.php Constructs a set of HTML restrictions matching the given text format.
HttpExceptionSubscriberBase::getHandledFormats function core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php Specifies the request formats this subscriber will respond to.
IdConflictForm::formatConflicts function core/modules/migrate_drupal_ui/src/Form/IdConflictForm.php Formats a set of failing audit results as strings.
image-formatter.html.twig file core/modules/image/templates/image-formatter.html.twig Default theme implementation to display a formatted image field.
image-formatter.html.twig file core/themes/stable9/templates/field/image-formatter.html.twig Theme override to display a formatted image field.
image-formatter.html.twig file core/themes/starterkit_theme/templates/field/image-formatter.html.twig Theme override to display a formatted image field.
ImageFieldDisplayTest::testImageFieldFormattersPrivate function core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php Tests image formatters on node display for private files.
ImageFieldDisplayTest::testImageFieldFormattersPublic function core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php Tests image formatters on node display for public files.
ImageFieldDisplayTest::_testImageFieldFormatters function core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php Tests image formatters on node display.
ImageFormatter class core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php Plugin implementation of the 'image' formatter.
ImageFormatter.php file core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php
ImageFormatter::$currentUser property core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php The current user.
ImageFormatter::$fileUrlGenerator property core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php The file URL generator.
ImageFormatter::$imageStyleStorage property core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php The image style entity storage.

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