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
LinkSeparateFormatter.php file core/modules/link/src/Plugin/Field/FieldFormatter/LinkSeparateFormatter.php
LinkSeparateFormatter::defaultSettings function core/modules/link/src/Plugin/Field/FieldFormatter/LinkSeparateFormatter.php Defines the default settings for this plugin.
LinkSeparateFormatter::viewElements function core/modules/link/src/Plugin/Field/FieldFormatter/LinkSeparateFormatter.php Builds a renderable array for a field value.
LocalePluralFormatTest class core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php Tests plural handling for various languages.
LocalePluralFormatTest.php file core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php
LocalePluralFormatTest::$adminUser property core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php An admin user.
LocalePluralFormatTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php The theme to install as the default for testing.
LocalePluralFormatTest::$modules property core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php Modules to install.
LocalePluralFormatTest::getPoFileWithBrokenPlural function core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php Returns a .po file with a broken plural formula.
LocalePluralFormatTest::getPoFileWithComplexPlural function core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php Returns a .po file with a complex plural formula.
LocalePluralFormatTest::getPoFileWithMissingPlural function core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php Returns a .po file with a missing plural formula.
LocalePluralFormatTest::getPoFileWithSimplePlural function core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php Returns a .po file with a simple plural formula.
LocalePluralFormatTest::importPoFile function core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php Imports a standalone .po file in a given language.
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.

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