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 10.3.x for format_
  5. Other projects
Title Object type File name Summary
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.
FormTestController::buttonWithFormAttribute function core/modules/system/tests/modules/form_test/src/Controller/FormTestController.php Returns a form and a button that has the form attribute.
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.
GenericFileFormatter.php file core/modules/file/src/Plugin/Field/FieldFormatter/GenericFileFormatter.php
GenericFileFormatter::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/GenericFileFormatter.php Builds a renderable array for a field value.
HandlerFieldFieldTest::doTestFormatterSimpleFieldRender function core/modules/field/tests/src/Kernel/Views/HandlerFieldFieldTest.php Tests that fields with formatters runs as expected.
HelpTopicTwigTest::PLUGIN_INFORMATION constant core/modules/help/tests/src/Unit/HelpTopicTwigTest.php The plugin information to use for setting up a test topic.
hook_field_formatter_info_alter function core/modules/field/field.api.php Perform alterations on Field API formatter types.
hook_field_formatter_settings_summary_alter function core/modules/field_ui/field_ui.api.php Alters the field formatter settings summary.
hook_field_formatter_third_party_settings_form function core/modules/field_ui/field_ui.api.php Allow modules to add settings to field formatters provided by other modules.
hook_filter_format_disable function core/modules/filter/filter.api.php Perform actions when a text format has been disabled.
hook_user_format_name_alter function core/modules/user/user.api.php Alter the username that is displayed for a user.
HtmlResponseAttachmentsProcessor::formatHttpHeaderAttributes function core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php Formats an attribute string for an HTTP header.
HttpExceptionSubscriberBase::getHandledFormats function core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php Specifies the request formats this subscriber will respond to.
IdConflictForm::formatConflicts function core/modules/migrate_drupal_ui/src/Form/IdConflictForm.php Formats a set of failing audit results as strings.
image-formatter.html.twig file core/themes/stable9/templates/field/image-formatter.html.twig Theme override to display a formatted image field.
image-formatter.html.twig file core/themes/starterkit_theme/templates/field/image-formatter.html.twig Theme override to display a formatted image field.
image-formatter.html.twig file core/modules/image/templates/image-formatter.html.twig Default theme implementation to display a formatted image field.
ImageFieldDisplayTest::testImageFieldFormattersPrivate function core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php Tests image formatters on node display for private files.
ImageFieldDisplayTest::testImageFieldFormattersPublic function core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php Tests image formatters on node display for public files.

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