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
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.
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.
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.
ImageFieldDisplayTest::testImageFieldFormattersPublic function core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php Test image formatters on node display for public files.
ImageFieldDisplayTest::_testImageFieldFormatters function core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php Test 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::$imageStyleStorage property core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php The image style entity storage.
ImageFormatter::calculateDependencies function core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php Calculates dependencies for the configured plugin.
ImageFormatter::create function core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php Creates an instance of the plugin.
ImageFormatter::defaultSettings function core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php Defines the default settings for this plugin.
ImageFormatter::onDependencyRemoval function core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php Informs the plugin that some configuration it depends on will be deleted.
ImageFormatter::settingsForm function core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php Returns a form to configure settings for the formatter.
ImageFormatter::settingsSummary function core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php Returns a short summary for the current formatter settings.
ImageFormatter::viewElements function core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php Builds a renderable array for a field value.
ImageFormatter::__construct function core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php Constructs an ImageFormatter object.
ImageFormatterBase class core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatterBase.php Base class for image file formatters.
ImageFormatterBase.php file core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatterBase.php
ImageFormatterBase::getEntitiesToView function core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatterBase.php Returns the referenced entities for display.
ImageFormatterTest class core/modules/image/tests/src/Kernel/ImageFormatterTest.php Tests the image field rendering using entity fields of the image field type.
ImageFormatterTest.php file core/modules/image/tests/src/Kernel/ImageFormatterTest.php
ImageFormatterTest::$bundle property core/modules/image/tests/src/Kernel/ImageFormatterTest.php

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