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
TextTrimmedFormatter::defaultSettings function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Defines the default settings for this plugin.
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 Returns a form to configure settings for the formatter.
TextTrimmedFormatter::settingsSummary function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Returns a short summary for the current formatter settings.
TextTrimmedFormatter::trustedCallbacks function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Lists the trusted callbacks provided by the implementing class.
TextTrimmedFormatter::viewElements function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Builds a renderable array for a field value.
text_post_update_allowed_formats function core/modules/text/text.post_update.php Add allowed_formats setting to existing text fields.
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 Creates an instance of the plugin.
TimestampAgoFormatter::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php Defines the default settings for this plugin.
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 Returns a form to configure settings for the formatter.
TimestampAgoFormatter::settingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php Returns a short summary for the current formatter settings.
TimestampAgoFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php Builds a renderable array for a field value.
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 The theme to install as the default for testing.
TimestampAgoFormatterTest::$displayOptions property core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php An array of display options to pass to entity_get_display().
TimestampAgoFormatterTest::$field property core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php The field used in this test class.
TimestampAgoFormatterTest::$fieldStorage property core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php A field storage to use in this test class.
TimestampAgoFormatterTest::$modules property core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php Modules to install.
TimestampAgoFormatterTest::setUp function core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php
TimestampAgoFormatterTest::testSettings function core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php Tests the formatter settings.
TimestampFormatter class core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Plugin implementation of the 'timestamp' formatter.
TimestampFormatter.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php
TimestampFormatter::$dateFormatStorage property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php The date format entity storage.
TimestampFormatter::$dateFormatter property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php The date formatter service.
TimestampFormatter::$time property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php The time service.
TimestampFormatter::buildStates function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Builds the #states key for form elements.
TimestampFormatter::create function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Creates an instance of the plugin.
TimestampFormatter::CUSTOM_DATE_FORMAT constant core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Used to specify a date format that is customizable by user.
TimestampFormatter::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Defines the default settings for this plugin.
TimestampFormatter::getRefreshIntervals function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Returns the refresh interval options for the time difference display.
TimestampFormatter::settingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Returns a form to configure settings for the formatter.
TimestampFormatter::settingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Returns a short summary for the current formatter settings.
TimestampFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Builds a renderable array for a field value.
TimestampFormatter::__construct function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Constructs a new TimestampFormatter.
TimestampFormatterSettingsUpdateTest class core/modules/system/tests/src/Functional/Update/TimestampFormatterSettingsUpdateTest.php Tests the update of timestamp formatter settings.
TimestampFormatterSettingsUpdateTest.php file core/modules/system/tests/src/Functional/Update/TimestampFormatterSettingsUpdateTest.php
TimestampFormatterSettingsUpdateTest::$defaultTheme property core/modules/system/tests/src/Functional/Update/TimestampFormatterSettingsUpdateTest.php The theme to install as the default for testing.
TimestampFormatterSettingsUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/TimestampFormatterSettingsUpdateTest.php Set database dump files to be used.
TimestampFormatterSettingsUpdateTest::testPostUpdateTimestampFormatter function core/modules/system/tests/src/Functional/Update/TimestampFormatterSettingsUpdateTest.php Tests the update of timestamp formatter settings.
TimestampFormatterTest class core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php Tests the timestamp formatters.
TimestampFormatterTest.php file core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php

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