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
FormattableMarkupTest::testToString function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @covers ::__toString[[api-linebreak]]
@covers ::jsonSerialize[[api-linebreak]]
FormattableMarkupTest::testUnexpectedPlaceholder function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @covers ::__toString[[api-linebreak]]
@dataProvider providerTestUnexpectedPlaceholder
FormattedDateDiff class core/lib/Drupal/Core/Datetime/FormattedDateDiff.php Contains a formatted time difference.
FormattedDateDiff.php file core/lib/Drupal/Core/Datetime/FormattedDateDiff.php
FormattedDateDiff::$maxAge property core/lib/Drupal/Core/Datetime/FormattedDateDiff.php The maximum time in seconds that this string may be cached.
FormattedDateDiff::$string property core/lib/Drupal/Core/Datetime/FormattedDateDiff.php The actual formatted time difference.
FormattedDateDiff::getCacheMaxAge function core/lib/Drupal/Core/Datetime/FormattedDateDiff.php The maximum age for which this object may be cached.
FormattedDateDiff::getString function core/lib/Drupal/Core/Datetime/FormattedDateDiff.php
FormattedDateDiff::toRenderable function core/lib/Drupal/Core/Datetime/FormattedDateDiff.php Returns a render array representation of the object.
FormattedDateDiff::__construct function core/lib/Drupal/Core/Datetime/FormattedDateDiff.php Creates a new FormattedDateDiff instance.
FormatterBase class core/lib/Drupal/Core/Field/FormatterBase.php Base class for 'Field formatter' plugin implementations.
FormatterBase.php file core/lib/Drupal/Core/Field/FormatterBase.php
FormatterBase::$fieldDefinition property core/lib/Drupal/Core/Field/FormatterBase.php The field definition.
FormatterBase::$label property core/lib/Drupal/Core/Field/FormatterBase.php The label display setting.
FormatterBase::$settings property core/lib/Drupal/Core/Field/FormatterBase.php The formatter settings.
FormatterBase::$viewMode property core/lib/Drupal/Core/Field/FormatterBase.php The view mode.
FormatterBase::create function core/lib/Drupal/Core/Field/FormatterBase.php Creates an instance of the plugin.
FormatterBase::getFieldSetting function core/lib/Drupal/Core/Field/FormatterBase.php Returns the value of a field setting.
FormatterBase::getFieldSettings function core/lib/Drupal/Core/Field/FormatterBase.php Returns the array of field settings.
FormatterBase::isApplicable function core/lib/Drupal/Core/Field/FormatterBase.php Returns if the formatter can be used for the provided field.
FormatterBase::prepareView function core/lib/Drupal/Core/Field/FormatterBase.php Allows formatters to load information for field values being displayed.
FormatterBase::settingsForm function core/lib/Drupal/Core/Field/FormatterBase.php Returns a form to configure settings for the formatter.
FormatterBase::settingsSummary function core/lib/Drupal/Core/Field/FormatterBase.php Returns a short summary for the current formatter settings.
FormatterBase::view function core/lib/Drupal/Core/Field/FormatterBase.php Builds a renderable array for a fully themed field.
FormatterBase::__construct function core/lib/Drupal/Core/Field/FormatterBase.php Constructs a FormatterBase object.
FormatterInterface interface core/lib/Drupal/Core/Field/FormatterInterface.php Interface definition for field formatter plugins.
FormatterInterface.php file core/lib/Drupal/Core/Field/FormatterInterface.php
FormatterInterface::isApplicable function core/lib/Drupal/Core/Field/FormatterInterface.php Returns if the formatter can be used for the provided field.
FormatterInterface::prepareView function core/lib/Drupal/Core/Field/FormatterInterface.php Allows formatters to load information for field values being displayed.
FormatterInterface::settingsForm function core/lib/Drupal/Core/Field/FormatterInterface.php Returns a form to configure settings for the formatter.
FormatterInterface::settingsSummary function core/lib/Drupal/Core/Field/FormatterInterface.php Returns a short summary for the current formatter settings.
FormatterInterface::view function core/lib/Drupal/Core/Field/FormatterInterface.php Builds a renderable array for a fully themed field.
FormatterInterface::viewElements function core/lib/Drupal/Core/Field/FormatterInterface.php Builds a renderable array for a field value.
FormatterPluginManager class core/lib/Drupal/Core/Field/FormatterPluginManager.php Plugin type manager for field formatters.
FormatterPluginManager.php file core/lib/Drupal/Core/Field/FormatterPluginManager.php
FormatterPluginManager::$fieldTypeManager property core/lib/Drupal/Core/Field/FormatterPluginManager.php The field type manager to define field.
FormatterPluginManager::$formatterOptions property core/lib/Drupal/Core/Field/FormatterPluginManager.php An array of formatter options for each field type.
FormatterPluginManager::createInstance function core/lib/Drupal/Core/Field/FormatterPluginManager.php Creates a plugin instance based on the provided ID and configuration.
FormatterPluginManager::getDefaultSettings function core/lib/Drupal/Core/Field/FormatterPluginManager.php Returns the default settings of a field formatter.
FormatterPluginManager::getInstance function core/lib/Drupal/Core/Field/FormatterPluginManager.php Overrides PluginManagerBase::getInstance().
FormatterPluginManager::getOptions function core/lib/Drupal/Core/Field/FormatterPluginManager.php Returns an array of formatter options for a field type.
FormatterPluginManager::prepareConfiguration function core/lib/Drupal/Core/Field/FormatterPluginManager.php Merges default values for formatter configuration.
FormatterPluginManager::__construct function core/lib/Drupal/Core/Field/FormatterPluginManager.php Constructs a FormatterPluginManager object.
FormatterPluginManagerTest class core/modules/field/tests/src/Kernel/FormatterPluginManagerTest.php Tests the field formatter plugin manager.
FormatterPluginManagerTest.php file core/modules/field/tests/src/Kernel/FormatterPluginManagerTest.php
FormatterPluginManagerTest::testNotApplicableFallback function core/modules/field/tests/src/Kernel/FormatterPluginManagerTest.php Tests that getInstance falls back on default if current is not applicable.
Formatting group core/includes/common.inc Functions to format numbers, strings, dates, etc.
format_size function core/includes/common.inc Generates a string representation for the given byte count.
FundamentalCompatibilityConstraintValidator::getFiltersInFormatOfType function core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php Gets the filters of the given type in this text format.
GenericFileFormatter class core/modules/file/src/Plugin/Field/FieldFormatter/GenericFileFormatter.php Plugin implementation of the 'file_default' formatter.

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