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
FormattableMarkup::placeholderEscape function core/lib/Drupal/Component/Render/FormattableMarkup.php Escapes a placeholder replacement value if needed.
FormattableMarkup::placeholderFormat function core/lib/Drupal/Component/Render/FormattableMarkup.php Replaces placeholders in a string with values.
FormattableMarkup::__construct function core/lib/Drupal/Component/Render/FormattableMarkup.php Constructs a new class instance.
FormattableMarkup::__toString function core/lib/Drupal/Component/Render/FormattableMarkup.php Returns markup.
FormattableMarkupKernelTest class core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php Provides a test covering integration of FormattableMarkup with other systems.
FormattableMarkupKernelTest.php file core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php
FormattableMarkupKernelTest::$modules property core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php Modules to enable.
FormattableMarkupKernelTest::getFormattableMarkupUriArgs function core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php Gets arguments for FormattableMarkup based on Url::fromUri() parameters.
FormattableMarkupKernelTest::providerTestFormattableMarkupUri function core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php
FormattableMarkupKernelTest::providerTestFormattableMarkupUriWithException function core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php
FormattableMarkupKernelTest::testFormattableMarkupUri function core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php Tests URL ":placeholders" in \Drupal\Component\Render\FormattableMarkup.
FormattableMarkupKernelTest::testFormattableMarkupUriWithExceptionUri function core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php @dataProvider providerTestFormattableMarkupUriWithException
FormattableMarkupTest class core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php Tests the TranslatableMarkup class.
FormattableMarkupTest.php file core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php
FormattableMarkupTest::$lastErrorMessage property core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php The error message of the last error in the error handler.
FormattableMarkupTest::$lastErrorNumber property core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php The error number of the last error in the error handler.
FormattableMarkupTest::errorHandler function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php Custom error handler that saves the last error.
FormattableMarkupTest::providerTestNullPlaceholder function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php Data provider for FormattableMarkupTest::testNullPlaceholder().
FormattableMarkupTest::providerTestUnexpectedPlaceholder function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php Data provider for FormattableMarkupTest::testUnexpectedPlaceholder().
FormattableMarkupTest::testCount function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @covers ::count[[api-linebreak]]
FormattableMarkupTest::testNoReplacementUnsupportedVariable function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @group legacy
FormattableMarkupTest::testNullPlaceholder function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @covers ::__toString[[api-linebreak]]
@dataProvider providerTestNullPlaceholder
@group legacy
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.
formattedText.ckeditor.css file core/modules/quickedit/css/editors/formattedText.ckeditor.css Functional styles for the CKEditor-based formatted text in-place editor.
formattedText.ckeditor.css file core/themes/stable9/css/quickedit/editors/formattedText.ckeditor.css Functional styles for the CKEditor-based formatted text in-place editor.
formattedText.ckeditor.css file core/themes/stable/css/quickedit/editors/formattedText.ckeditor.css Functional styles for the CKEditor-based formatted text in-place editor.
formattedText.ckeditor5.css file core/themes/stable9/css/quickedit/editors/formattedText.ckeditor5.css Functional styles for the CKEditor-based formatted text in-place editor.
formattedText.ckeditor5.css file core/themes/stable/css/quickedit/editors/formattedText.ckeditor5.css Functional styles for the CKEditor-based formatted text in-place editor.
formattedText.ckeditor5.css file core/modules/quickedit/css/editors/formattedText.ckeditor5.css Functional styles for the CKEditor 5-based formatted text in-place editor.
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.

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