Search for getFormat

  1. Search 7.x for getFormat
  2. Search 9.5.x for getFormat
  3. Search 10.3.x for getFormat
  4. Search 11.x for getFormat
  5. Other projects
Title Object type File name Summary
DateTimeFormatterBase::getFormatSettings function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php Gets a settings array suitable for DrupalDateTime::format().
Endpoint::getFormats function core/modules/media/src/OEmbed/Endpoint.php Returns list of supported formats.
EntityField::getFormatterInstance function core/modules/views/src/Plugin/views/field/EntityField.php Returns the field formatter instance.
FieldBlock::getFormatter function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Gets the formatter object.
FormattableMarkupKernelTest::getFormattableMarkupUriArgs function core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php Gets arguments for FormattableMarkup based on Url::fromUri() parameters.
RestExport::getFormatOptions function core/modules/rest/src/Plugin/views/display/RestExport.php Returns an array of format options.
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.
Serializer::getFormatOptions function core/modules/rest/src/Plugin/views/style/Serializer.php Returns an array of format options
Serializer::getFormats function core/modules/rest/src/Plugin/views/style/Serializer.php Gets a list of all available formats that can be requested.
Term::getFormat function core/modules/taxonomy/src/Entity/Term.php Gets the text format name for the term description.
TermInterface::getFormat function core/modules/taxonomy/src/TermInterface.php Gets the text format name for the term description.

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