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
LinkField::getFieldFormatterMap function core/modules/link/src/Plugin/migrate/field/d7/LinkField.php Get a map between D6 formatters and D8 formatters for this field type.
LinkField::getFieldFormatterMap function core/modules/link/src/Plugin/migrate/cckfield/LinkField.php Get a map between D6 formatters and D8 formatters for this field type.
LinkFieldRdfaTest::runTestAllFormatters function core/modules/rdf/tests/src/Kernel/Field/LinkFieldRdfaTest.php Helper function to test all link formatters.
LinkFieldRdfaTest::testAllFormattersExternal function core/modules/rdf/tests/src/Kernel/Field/LinkFieldRdfaTest.php Tests all formatters with link to external page.
LinkFieldRdfaTest::testAllFormattersFront function core/modules/rdf/tests/src/Kernel/Field/LinkFieldRdfaTest.php Tests all formatters with link to frontpage.
LinkFieldRdfaTest::testAllFormattersInternal function core/modules/rdf/tests/src/Kernel/Field/LinkFieldRdfaTest.php Tests all formatters with link to internal page.
LinkFieldTest::testLinkFormatter function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests the default 'link' formatter.
LinkFieldTest::testLinkSeparateFormatter function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests the 'link_separate' formatter.
LinkFormatter class core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php Plugin implementation of the 'link' formatter.
LinkFormatter.php file core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php
LinkFormatter::$pathValidator property core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php The path validator service.
LinkFormatter::buildUrl function core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php Builds the \Drupal\Core\Url object for a link field item.
LinkFormatter::create function core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php Creates an instance of the plugin.
LinkFormatter::defaultSettings function core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php Defines the default settings for this plugin.
LinkFormatter::settingsForm function core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php Returns a form to configure settings for the formatter.
LinkFormatter::settingsSummary function core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php Returns a short summary for the current formatter settings.
LinkFormatter::viewElements function core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php Builds a renderable array for a field value.
LinkFormatter::__construct function core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php Constructs a new LinkFormatter.
LinkSeparateFormatter class core/modules/link/src/Plugin/Field/FieldFormatter/LinkSeparateFormatter.php Plugin implementation of the 'link_separate' formatter.
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 enable.
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()
functionality.
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.
Mail::formatDisplayName function core/lib/Drupal/Component/Utility/Mail.php Return a RFC-2822 compliant "display-name" component.
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

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