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
TimestampFormatter.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php
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 Instantiates a new instance of the implementing class using autowiring.
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.
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 install.
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.
TimestampFormatterWithTimeDiffTest class core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php Tests the 'timestamp' formatter when is used with time difference setting.
TimestampFormatterWithTimeDiffTest.php file core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php
TimestampFormatterWithTimeDiffTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php The theme to install as the default for testing.
TimestampFormatterWithTimeDiffTest::$entity property core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php Testing entity.
TimestampFormatterWithTimeDiffTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php Modules to install.
TimestampFormatterWithTimeDiffTest::getFormatDiffTestCases function core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php Provides test cases for unit testing Drupal.timeDiff.format().
TimestampFormatterWithTimeDiffTest::getRefreshIntervalTestCases function core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php Provides test cases for unit testing Drupal.timeDiff.refreshInterval().
TimestampFormatterWithTimeDiffTest::setUp function core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php
TimestampFormatterWithTimeDiffTest::testNoRefreshInterval function core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php Tests the 'timestamp' formatter without refresh interval.
TimestampFormatterWithTimeDiffTest::testTimestampFormatterWithTimeDiff function core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php Tests the 'timestamp' formatter when is used with time difference setting.
TimestampFormatterWithTimeDiffViewsTest class core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffViewsTest.php Tests the timestamp formatter used with time difference setting in views.
TimestampFormatterWithTimeDiffViewsTest.php file core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffViewsTest.php
TimestampFormatterWithTimeDiffViewsTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffViewsTest.php The theme to install as the default for testing.
TimestampFormatterWithTimeDiffViewsTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffViewsTest.php Modules to install.
TimestampFormatterWithTimeDiffViewsTest::$testViews property core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffViewsTest.php Views used in test.
TimestampFormatterWithTimeDiffViewsTest::getRowData function core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffViewsTest.php Provides data for view rows.
TimestampFormatterWithTimeDiffViewsTest::testTimestampFormatterWithTimeDiff function core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffViewsTest.php Tests the timestamp formatter used with time difference setting in views.
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.
TranslatableMarkupTest::testIsStringAssertionWithFormattableMarkup function core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php Tests is string assertion with formattable markup.
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 Tests format plural.
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.

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