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. Search main for format
  6. Other projects
Title Object type File name Summary
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 Tests Drupal\Core\Mail\MailFormatHelper.
MailFormatHelperTest.php file core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php
MailFormatHelperTest::testWrapMail function core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php Tests wrap mail.
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.
MediaFilterControllerTest::$filterFormat property core/modules/media/tests/src/Kernel/MediaFilterControllerTest.php The text format used in the preview request.
MediaHooks::formatEditFormValidate function core/modules/media/src/Hook/MediaHooks.php Validate callback to ensure filter order and allowed_html are compatible.
MediaHooks::formFilterFormatAddFormAlter function core/modules/media/src/Hook/MediaHooks.php Implements hook_form_FORM_ID_alter().
MediaHooks::formFilterFormatEditFormAlter function core/modules/media/src/Hook/MediaHooks.php Implements hook_form_FORM_ID_alter().
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::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 Instantiates a new instance of the implementing class using autowiring.
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 FormatterBase object.
MediaThumbnailFormatterTest class core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php Tests Drupal\media\Plugin\Field\FieldFormatter\MediaThumbnailFormatter.
MediaThumbnailFormatterTest class core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php Tests Media Thumbnail Formatter.
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.
MediaThumbnailFormatterTest::$testEntityTypeId property core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php Test entity type id.
MediaThumbnailFormatterTest::changeMediaReferenceFieldLinkType function core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php Helper function to change field display.
MediaThumbnailFormatterTest::providerTestSettingsSummary function core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php Data provider for testSettingsSummary().
MediaThumbnailFormatterTest::setUp function core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php
MediaThumbnailFormatterTest::testRender function core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php Tests the media thumbnail field formatter.

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