Search for format

  1. Search 7.x for format
  2. Search 8.9.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
TextFormat::getInfo function core/modules/filter/src/Element/TextFormat.php
TextFormat::getSourceElement function core/modules/config_translation/src/FormElement/TextFormat.php Returns the source element for a given configuration definition.
TextFormat::getTranslationElement function core/modules/config_translation/src/FormElement/TextFormat.php Returns the translation form element for a given configuration definition.
TextFormat::processFormat function core/modules/filter/src/Element/TextFormat.php Expands an element into a base element with text format selector attached.
TextFormatElementFormTest class core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Tests PathElement validation and conversion functionality.
TextFormatElementFormTest.php file core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php
TextFormatElementFormTest::$modules property core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Modules to enable.
TextFormatElementFormTest::$testUser property core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php User for testing.
TextFormatElementFormTest::buildForm function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php
TextFormatElementFormTest::getFormId function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php
TextFormatElementFormTest::getUrl function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php
TextFormatElementFormTest::setUp function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Sets up the test.
TextFormatElementFormTest::submitForm function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php
TextFormatElementFormTest::testTextFormatElement function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Tests that values are returned.
TextFormatElementFormTest::validateForm function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Form validation handler.
TextFormatterTest class core/modules/text/tests/src/Kernel/TextFormatterTest.php Tests the text formatters functionality.
TextFormatterTest.php file core/modules/text/tests/src/Kernel/TextFormatterTest.php
TextFormatterTest::$bundle property core/modules/text/tests/src/Kernel/TextFormatterTest.php The bundle used in this test.
TextFormatterTest::$entityType property core/modules/text/tests/src/Kernel/TextFormatterTest.php The entity type used in this test.
TextFormatterTest::$modules property core/modules/text/tests/src/Kernel/TextFormatterTest.php Modules to enable.
TextFormatterTest::setUp function core/modules/text/tests/src/Kernel/TextFormatterTest.php
TextFormatterTest::testFormatters function core/modules/text/tests/src/Kernel/TextFormatterTest.php Tests all text field formatters.
TextSummaryOrTrimmedFormatter class core/modules/text/src/Plugin/Field/FieldFormatter/TextSummaryOrTrimmedFormatter.php Plugin implementation of the 'text_summary_or_trimmed' formatter.
TextSummaryOrTrimmedFormatter.php file core/modules/text/src/Plugin/Field/FieldFormatter/TextSummaryOrTrimmedFormatter.php
TextSummaryTest::testInvalidFilterFormat function core/modules/text/tests/src/Kernel/TextSummaryTest.php Tests text summaries with an invalid filter format.
TextTrimmedFormatter class core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Plugin implementation of the 'text_trimmed' formatter.
TextTrimmedFormatter.php file core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php
TextTrimmedFormatter::defaultSettings function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php
TextTrimmedFormatter::preRenderSummary function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Pre-render callback: Renders a processed text element's #markup as a summary.
TextTrimmedFormatter::settingsForm function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php
TextTrimmedFormatter::settingsSummary function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php
TextTrimmedFormatter::trustedCallbacks function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php
TextTrimmedFormatter::viewElements function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php
Time::$dateFormatter property core/modules/views/src/Plugin/views/cache/Time.php The date formatter service.
TimeInterval::$dateFormatter property core/modules/views/src/Plugin/views/field/TimeInterval.php The date formatter service.
TimestampAgoFormatter class core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php Plugin implementation of the 'timestamp' formatter as time ago.
TimestampAgoFormatter.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php
TimestampAgoFormatter::$dateFormatter property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php The date formatter service.
TimestampAgoFormatter::$request property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php The current Request object.
TimestampAgoFormatter::create function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php
TimestampAgoFormatter::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php
TimestampAgoFormatter::formatTimestamp function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php Formats a timestamp.
TimestampAgoFormatter::settingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php
TimestampAgoFormatter::settingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php
TimestampAgoFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php
TimestampAgoFormatter::__construct function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php Constructs a TimestampAgoFormatter object.
TimestampAgoFormatterTest class core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php Tests the functionality of TimestampAgoFormatter core field formatter.
TimestampAgoFormatterTest.php file core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php
TimestampAgoFormatterTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php
TimestampAgoFormatterTest::$displayOptions property core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php An array of display options to pass to entity_get_display().

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