Search for format

  1. Search 7.x for format
  2. Search 9.5.x for format
  3. Search 10.3.x for format
  4. Search 11.x for format
  5. Other projects
Title Object type File name Summary
FormatterBase::settingsForm function core/lib/Drupal/Core/Field/FormatterBase.php Returns a form to configure settings for the formatter.
FormatterBase::settingsSummary function core/lib/Drupal/Core/Field/FormatterBase.php Returns a short summary for the current formatter settings.
FormatterBase::view function core/lib/Drupal/Core/Field/FormatterBase.php Builds a renderable array for a fully themed field.
FormatterBase::__construct function core/lib/Drupal/Core/Field/FormatterBase.php Constructs a FormatterBase object.
FormatterInterface interface core/lib/Drupal/Core/Field/FormatterInterface.php Interface definition for field formatter plugins.
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.
Formatting group core/includes/common.inc Functions to format numbers, strings, dates, etc.
format_date function core/includes/common.inc Formats a date, using a date type or a custom date format string.
format_size function core/includes/common.inc Generates a string representation for the given byte count.
format_string function core/includes/bootstrap.inc Formats a string for HTML display by replacing variable placeholders.
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.
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_topics/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.
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/stable/templates/field/image-formatter.html.twig Theme override to display a formatted image field.
image-formatter.html.twig file core/themes/classy/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 Test image formatters on node display for private files.

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