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
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 enable.
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::create function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Creates an instance of the plugin.
TimestampFormatter::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Defines the default settings for this plugin.
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.
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
TimestampFormatterTest::$bundle property core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php
TimestampFormatterTest::$display property core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php
TimestampFormatterTest::$entityType property core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php
TimestampFormatterTest::$fieldName property core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php
TimestampFormatterTest::$modules property core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php Modules to enable.
TimestampFormatterTest::renderEntityFields function core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php Renders fields of a given entity with a given display.
TimestampFormatterTest::setUp function core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php
TimestampFormatterTest::testTimestampAgoFormatter function core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php Tests TimestampAgoFormatter.
TimestampFormatterTest::testTimestampFormatter function core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php Tests TimestampFormatter.
TimestampNormalizer::$allowedFormats property core/modules/serialization/src/Normalizer/TimestampNormalizer.php Allowed datetime formats for the denormalizer.
TimestampNormalizerTest::providerTestDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Data provider for testDenormalizeValidFormats.
TimestampNormalizerTest::testDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Tests the denormalize function with good data.
TimezoneTest::$formattedDates property core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php The test date formatted in various formats and timezones.
TrackerController::$dateFormatter property core/modules/tracker/src/Controller/TrackerController.php The date formatter.
TranslatableMarkupTest::testIsStringAssertionWithFormattableMarkup function core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php @covers ::__construct[[api-linebreak]]
TranslationInterface::formatPlural function core/lib/Drupal/Core/StringTranslation/TranslationInterface.php Formats a string containing a count of items.
TranslationManager::formatPlural function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Formats a string containing a count of items.
TranslationManagerTest::providerTestFormatPlural function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php Provides some test data for formatPlural()
TranslationManagerTest::testFormatPlural function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php @dataProvider providerTestFormatPlural
TwigExtension::$dateFormatter property core/lib/Drupal/Core/Template/TwigExtension.php The date formatter.
TwigExtensionTest::$dateFormatter property core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php The date formatter.
TwigExtensionTest::testFormatDate function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php Tests the format_date filter.
UnformattedSummary class core/modules/views/src/Plugin/views/style/UnformattedSummary.php The default style plugin for summaries.
UnformattedSummary.php file core/modules/views/src/Plugin/views/style/UnformattedSummary.php
UnformattedSummary::buildOptionsForm function core/modules/views/src/Plugin/views/style/UnformattedSummary.php Provide a form to edit options for this plugin.
UnformattedSummary::defineOptions function core/modules/views/src/Plugin/views/style/UnformattedSummary.php Information about options for all kinds of purposes will be held here.

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