Search for formats

  1. Search 7.x for formats
  2. Search 9.5.x for formats
  3. Search 10.3.x for formats
  4. Search 11.x for formats
  5. Other projects
Title Object type File name Summary
FormatSpecificGetBcRouteTestTrait trait core/modules/rest/tests/src/Functional/EntityResource/FormatSpecificGetBcRouteTestTrait.php Provides test methods to assert BC on format-specific GET routes.
FormatSpecificGetBcRouteTestTrait.php file core/modules/rest/tests/src/Functional/EntityResource/FormatSpecificGetBcRouteTestTrait.php
FormatSpecificGetBcRouteTestTrait::testFormatSpecificGetBcRoute function core/modules/rest/tests/src/Functional/EntityResource/FormatSpecificGetBcRouteTestTrait.php @group legacy
FormatSpecificGetBcRouteTestTrait::testNoFormatSpecificGetBcRouteForOtherFormats function core/modules/rest/tests/src/Functional/EntityResource/FormatSpecificGetBcRouteTestTrait.php @group legacy
FormatStringTest class core/tests/Drupal/KernelTests/Core/Bootstrap/FormatStringTest.php Tests deprecated behavior of format_string.
FormatStringTest.php file core/tests/Drupal/KernelTests/Core/Bootstrap/FormatStringTest.php
FormatStringTest::testFormatString function core/tests/Drupal/KernelTests/Core/Bootstrap/FormatStringTest.php Tests error triggering on format_string.
HttpExceptionSubscriberBase::getHandledFormats function core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php Specifies the request formats this subscriber will respond to.
MigrateDateFormatTest::testDateFormats function core/modules/system/tests/src/Kernel/Migrate/d6/MigrateDateFormatTest.php Tests the Drupal 6 date formats to Drupal 8 migration.
MigrateExecutable::formatSize function core/modules/migrate/src/MigrateExecutable.php Generates a string representation for the given byte count.
NegotiationMiddleware::$formats property core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php Contains a hashmap of format as key and mimetype as value.
PoItem::formatSingular function core/lib/Drupal/Component/Gettext/PoItem.php Formats a singular translation.
PoItem::formatString function core/lib/Drupal/Component/Gettext/PoItem.php Formats a string for output on multiple lines.
RequestFormatRouteFilter::getAvailableFormats function core/lib/Drupal/Core/Routing/RequestFormatRouteFilter.php Gets the set of formats across all routes in the collection.
RequestFormatRouteFilterTest::testNoRouteFoundWhenNoRequestFormatAndSingleRouteWithMultipleFormats function core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php @covers ::filter
ResourceBase::$serializerFormats property core/modules/rest/src/Plugin/ResourceBase.php The available serialization formats.
ResourceTest::testFormats function core/modules/rest/tests/src/Functional/ResourceTest.php Tests that a resource without formats cannot be enabled.
RestResourceConfig::getFormats function core/modules/rest/src/Entity/RestResourceConfig.php Retrieves a list of supported response formats.
RestResourceConfig::getFormatsForMethodGranularity function core/modules/rest/src/Entity/RestResourceConfig.php Retrieves a list of supported response formats.
RestResourceConfigInterface::getFormats function core/modules/rest/src/RestResourceConfigInterface.php Retrieves a list of supported response formats.
RestResourceGetRouteProcessorBC::$serializerFormats property core/modules/rest/src/RouteProcessor/RestResourceGetRouteProcessorBC.php The available serialization formats.
Serializer::$formats property core/modules/rest/src/Plugin/views/style/Serializer.php The available serialization formats.
Serializer::getFormats function core/modules/rest/src/Plugin/views/style/Serializer.php Gets a list of all available formats that can be requested.
SizeTest::providerTestCommonFormatSize function core/tests/Drupal/KernelTests/Core/Common/SizeTest.php Provides a list of byte size to test.
SizeTest::testCommonFormatSize function core/tests/Drupal/KernelTests/Core/Common/SizeTest.php Checks that format_size() returns the expected string.
TestMigrateExecutable::formatSize function core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php Generates a string representation for the given byte count.
TimestampFormatter::$dateFormatStorage property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php The date format entity storage.
TimeStampItemNormalizerTrait::$allowedFormats property core/modules/serialization/src/Normalizer/TimeStampItemNormalizerTrait.php Allowed timestamps formats for the denormalizer.
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.
UserAuthenticationController::$serializerFormats property core/modules/user/src/Controller/UserAuthenticationController.php The available serialization formats.
UserRouteAlterSubscriber::$serializerFormats property core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php The available serialization formats.
UserRouteAlterSubscriber::onRoutingAlterAddFormats function core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php Adds supported formats to the user authentication HTTP routes.

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