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
LocalePluralFormatTest::setUp function core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php
LocalePluralFormatTest::testGetPluralFormat function core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php Tests locale_get_plural() and \Drupal::translation()->formatPlural().
LocalePluralFormatTest::testPluralEditDateFormatter function core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php Tests plural editing of DateFormatter strings.
LocalePluralFormatTest::testPluralEditExport function core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php Tests plural editing and export functionality.
MailFormatHelper class core/lib/Drupal/Core/Mail/MailFormatHelper.php Defines a class containing utility methods for formatting mail messages.
MailFormatHelper.php file core/lib/Drupal/Core/Mail/MailFormatHelper.php
MailFormatHelper::$regexp property core/lib/Drupal/Core/Mail/MailFormatHelper.php Quoted regex expression based on base path.
MailFormatHelper::$supportedTags property core/lib/Drupal/Core/Mail/MailFormatHelper.php Array of tags supported.
MailFormatHelper::$urls property core/lib/Drupal/Core/Mail/MailFormatHelper.php Internal array of URLs replaced with tokens.
MailFormatHelper::htmlToMailUrls function core/lib/Drupal/Core/Mail/MailFormatHelper.php Keeps track of URLs and replaces them with placeholder tokens.
MailFormatHelper::htmlToText function core/lib/Drupal/Core/Mail/MailFormatHelper.php Transforms an HTML string into plain text, preserving its structure.
MailFormatHelper::htmlToTextClean function core/lib/Drupal/Core/Mail/MailFormatHelper.php Replaces non-quotation markers from a piece of indentation with spaces.
MailFormatHelper::htmlToTextPad function core/lib/Drupal/Core/Mail/MailFormatHelper.php Pads the last line with the given character.
MailFormatHelper::wrapMail function core/lib/Drupal/Core/Mail/MailFormatHelper.php Performs format=flowed soft wrapping for mail (RFC 3676).
MailFormatHelper::wrapMailLine function core/lib/Drupal/Core/Mail/MailFormatHelper.php Wraps words on a single line.
MailFormatHelperTest class core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php @coversDefaultClass \Drupal\Core\Mail\MailFormatHelper
@group Mail
MailFormatHelperTest.php file core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php
MailFormatHelperTest::testWrapMail function core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php @covers ::wrapMail
MailInterface::format function core/lib/Drupal/Core/Mail/MailInterface.php Formats a message prior to sending.
MailToFormatter class core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/MailToFormatter.php Plugin implementation of the 'email_mailto' formatter.
MailToFormatter.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/MailToFormatter.php
MailToFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/MailToFormatter.php Builds a renderable array for a field value.
MainContentViewSubscriber::WRAPPER_FORMAT constant core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php URL query attribute to indicate the wrapper used to render a request.
ManageDisplayTest::testFormatterUI function core/modules/field_ui/tests/src/FunctionalJavascript/ManageDisplayTest.php Tests formatter settings.
Markup::$format property core/modules/views/src/Plugin/views/field/Markup.php The format to use for this field.
MediaFilterController::formatUsesMediaEmbedFilter function core/modules/media/src/Controller/MediaFilterController.php Checks access based on media_embed filter status on the text format.
MediaJsonAnonTest::$format property core/modules/media/tests/src/Functional/Rest/MediaJsonAnonTest.php The format to use in this test.
MediaJsonBasicAuthTest::$format property core/modules/media/tests/src/Functional/Rest/MediaJsonBasicAuthTest.php The format to use in this test.
MediaJsonCookieTest::$format property core/modules/media/tests/src/Functional/Rest/MediaJsonCookieTest.php The format to use in this test.
MediaListBuilder::$dateFormatter property core/modules/media/src/MediaListBuilder.php The date formatter service.
MediaThumbnailFormatter class core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php Plugin implementation of the 'media_thumbnail' formatter.
MediaThumbnailFormatter.php file core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php
MediaThumbnailFormatter::$renderer property core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php The renderer service.
MediaThumbnailFormatter::checkAccess function core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php Checks access to the given entity.
MediaThumbnailFormatter::create function core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php Creates an instance of the plugin.
MediaThumbnailFormatter::getMediaThumbnailUrl function core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php Get the URL for the media thumbnail.
MediaThumbnailFormatter::isApplicable function core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php Returns if the formatter can be used for the provided field.
MediaThumbnailFormatter::needsEntityLoad function core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php This has to be overridden because FileFormatterBase expects $item to be
of type \Drupal\file\Plugin\Field\FieldType\FileItem and calls
isDisplayed() which is not in FieldItemInterface.
MediaThumbnailFormatter::settingsForm function core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php Returns a form to configure settings for the formatter.
MediaThumbnailFormatter::settingsSummary function core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php Returns a short summary for the current formatter settings.
MediaThumbnailFormatter::viewElements function core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php Builds a renderable array for a field value.
MediaThumbnailFormatter::__construct function core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php Constructs a MediaThumbnailFormatter object.
MediaThumbnailFormatterTest class core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php @coversDefaultClass \Drupal\media\Plugin\Field\FieldFormatter\MediaThumbnailFormatter
@group media
MediaThumbnailFormatterTest class core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php @covers \Drupal\media\Plugin\Field\FieldFormatter\MediaThumbnailFormatter
MediaThumbnailFormatterTest.php file core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php
MediaThumbnailFormatterTest.php file core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php
MediaThumbnailFormatterTest::$defaultTheme property core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php The theme to install as the default for testing.
MediaThumbnailFormatterTest::$mediaFieldName property core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php Test media reference field name.
MediaThumbnailFormatterTest::$modules property core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php Modules to install.
MediaThumbnailFormatterTest::$testEntityBundleId property core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php Test entity bundle id.

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