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
FilterUninstallValidatorTest::testValidateNoMatchingFormats function core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php @covers ::validate[[api-linebreak]]
filter_formats function core/modules/filter/filter.module Retrieves a list of enabled text formats, ordered by weight.
filter_formats_reset function core/modules/filter/filter.module Resets the text format caches.
filter_get_formats_by_role function core/modules/filter/filter.module Retrieves a list of text formats that are allowed for a given role.
filter_test_filter_format_disable function core/modules/filter/tests/filter_test/filter_test.module Implements hook_filter_format_disable().
filter_test_filter_format_insert function core/modules/filter/tests/filter_test/filter_test.module Implements hook_ENTITY_TYPE_insert().
filter_test_filter_format_update function core/modules/filter/tests/filter_test/filter_test.module Implements hook_ENTITY_TYPE_update().
FormAjaxSubscriber::formatSize function core/lib/Drupal/Core/Form/EventSubscriber/FormAjaxSubscriber.php Wraps format_size()
FormatDate class core/modules/migrate/src/Plugin/migrate/process/FormatDate.php Converts date/datetime from one format to another.
FormatDate.php file core/modules/migrate/src/Plugin/migrate/process/FormatDate.php
FormatDate::transform function core/modules/migrate/src/Plugin/migrate/process/FormatDate.php Performs the associated process.
FormatDateTest class core/modules/migrate/tests/src/Unit/process/FormatDateTest.php Tests the format date process plugin.
FormatDateTest class core/modules/system/tests/src/Functional/Common/FormatDateTest.php Tests the DateFormatterInterface::format() function.
FormatDateTest.php file core/modules/migrate/tests/src/Unit/process/FormatDateTest.php
FormatDateTest.php file core/modules/system/tests/src/Functional/Common/FormatDateTest.php
FormatDateTest::$defaultTheme property core/modules/system/tests/src/Functional/Common/FormatDateTest.php The theme to install as the default for testing.
FormatDateTest::datesDataProvider function core/modules/migrate/tests/src/Unit/process/FormatDateTest.php Data provider of test dates.
FormatDateTest::testAdminDefinedFormatDate function core/modules/system/tests/src/Functional/Common/FormatDateTest.php Tests admin-defined formats in DateFormatterInterface::format().
FormatDateTest::testMigrateExceptionBadFormat function core/modules/migrate/tests/src/Unit/process/FormatDateTest.php Tests that date format mismatches will throw an exception.
FormatDateTest::testMigrateExceptionMissingFromFormat function core/modules/migrate/tests/src/Unit/process/FormatDateTest.php Tests that missing configuration will throw an exception.
FormatDateTest::testMigrateExceptionMissingToFormat function core/modules/migrate/tests/src/Unit/process/FormatDateTest.php Tests that missing configuration will throw an exception.
FormatDateTest::testMigrateExceptionUnexpectedValue function core/modules/migrate/tests/src/Unit/process/FormatDateTest.php Tests that an unexpected date value will throw an exception.
FormatDateTest::testTransform function core/modules/migrate/tests/src/Unit/process/FormatDateTest.php Tests transformation.
FormattableMarkup class core/lib/Drupal/Component/Render/FormattableMarkup.php Formats a string for HTML display by replacing variable placeholders.
FormattableMarkup.php file core/lib/Drupal/Component/Render/FormattableMarkup.php
FormattableMarkup::$arguments property core/lib/Drupal/Component/Render/FormattableMarkup.php The arguments to replace placeholders with.
FormattableMarkup::$string property core/lib/Drupal/Component/Render/FormattableMarkup.php The string containing placeholders.
FormattableMarkup::count function core/lib/Drupal/Component/Render/FormattableMarkup.php Returns the string length.
FormattableMarkup::jsonSerialize function core/lib/Drupal/Component/Render/FormattableMarkup.php Returns a representation of the object for use in JSON serialization.
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 install.
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::testNullPlaceholder function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @covers ::__toString[[api-linebreak]]
@dataProvider providerTestNullPlaceholder
@group legacy

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