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
TextDefaultFormatter.php file core/modules/text/src/Plugin/Field/FieldFormatter/TextDefaultFormatter.php
TextDefaultFormatter::viewElements function core/modules/text/src/Plugin/Field/FieldFormatter/TextDefaultFormatter.php Builds a renderable array for a field value.
TextField::getFieldFormatterMap function core/modules/text/src/Plugin/migrate/field/d6/TextField.php Get a map between D6 formatters and D8 formatters for this field type.
TextField::getFieldFormatterType function core/modules/text/src/Plugin/migrate/field/d7/TextField.php Get the field formatter type from the source.
TextFieldTest::getFieldFormatterTypeProvider function core/modules/text/tests/src/Unit/Plugin/migrate/field/d7/TextFieldTest.php Data provider for testGetFieldFormatterType().
TextFieldTest::testGetFieldFormatterType function core/modules/text/tests/src/Unit/Plugin/migrate/field/d7/TextFieldTest.php @covers ::getFieldFormatterType
@covers ::getFieldType
@dataProvider getFieldFormatterTypeProvider
TextFieldTest::testTextfieldWidgetsAllowedFormats function core/modules/text/tests/src/Functional/TextFieldTest.php Test widgets for fields with selected allowed formats.
TextFieldTest::testTextfieldWidgetsFormatted function core/modules/text/tests/src/Functional/TextFieldTest.php Tests widgets + 'formatted_text' setting.
TextFieldTest::_testTextfieldWidgetsFormatted function core/modules/text/tests/src/Functional/TextFieldTest.php Helper function for testTextfieldWidgetsFormatted().
TextFormat class core/modules/config_translation/src/FormElement/TextFormat.php Defines the text_format element for the configuration translation interface.
TextFormat class core/modules/filter/src/Element/TextFormat.php Provides a text format render element.
TextFormat.php file core/modules/filter/src/Element/TextFormat.php
TextFormat.php file core/modules/config_translation/src/FormElement/TextFormat.php
TextFormat::accessDeniedCallback function core/modules/filter/src/Element/TextFormat.php Render API callback: Hides the field value of 'text_format' elements.
TextFormat::configFactory function core/modules/filter/src/Element/TextFormat.php Wraps the config factory.
TextFormat::currentUser function core/modules/filter/src/Element/TextFormat.php Wraps the current user.
TextFormat::elementInfo function core/modules/filter/src/Element/TextFormat.php Wraps the element info service.
TextFormat::getInfo function core/modules/filter/src/Element/TextFormat.php Returns the element properties for this element.
TextFormat::getSourceElement function core/modules/config_translation/src/FormElement/TextFormat.php Returns the source element for a given configuration definition.
TextFormat::getTranslationElement function core/modules/config_translation/src/FormElement/TextFormat.php Returns the translation form element for a given configuration definition.
TextFormat::processFormat function core/modules/filter/src/Element/TextFormat.php Expands an element into a base element with text format selector attached.
TextFormatElementFormTest class core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Tests PathElement validation and conversion functionality.
TextFormatElementFormTest.php file core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php
TextFormatElementFormTest::$modules property core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Modules to install.
TextFormatElementFormTest::$testUser property core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php User for testing.
TextFormatElementFormTest::buildForm function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Form constructor.
TextFormatElementFormTest::getFormId function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Returns a unique string identifying the form.
TextFormatElementFormTest::setUp function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Sets up the test.
TextFormatElementFormTest::submitForm function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Form submission handler.
TextFormatElementFormTest::testTextFormatElement function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Tests that values are returned.
TextFormatElementFormTest::validateForm function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Form validation handler.
TextFormatterTest class core/modules/text/tests/src/Kernel/TextFormatterTest.php Tests the text formatters functionality.
TextFormatterTest.php file core/modules/text/tests/src/Kernel/TextFormatterTest.php
TextFormatterTest::$bundle property core/modules/text/tests/src/Kernel/TextFormatterTest.php The bundle used in this test.
TextFormatterTest::$entityType property core/modules/text/tests/src/Kernel/TextFormatterTest.php The entity type used in this test.
TextFormatterTest::$modules property core/modules/text/tests/src/Kernel/TextFormatterTest.php Modules to install.
TextFormatterTest::setUp function core/modules/text/tests/src/Kernel/TextFormatterTest.php
TextFormatterTest::testFormatters function core/modules/text/tests/src/Kernel/TextFormatterTest.php Tests all text field formatters.
TextItemBase::validateAllowedFormats function core/modules/text/src/Plugin/Field/FieldType/TextItemBase.php Render API callback: Processes the allowed formats value.
TextSummaryOrTrimmedFormatter class core/modules/text/src/Plugin/Field/FieldFormatter/TextSummaryOrTrimmedFormatter.php Plugin implementation of the 'text_summary_or_trimmed' formatter.
TextSummaryOrTrimmedFormatter.php file core/modules/text/src/Plugin/Field/FieldFormatter/TextSummaryOrTrimmedFormatter.php
TextSummaryTest::testInvalidFilterFormat function core/modules/text/tests/src/Kernel/TextSummaryTest.php Tests text summaries with an invalid filter format.
TextTrimmedFormatter class core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Plugin implementation of the 'text_trimmed' formatter.
TextTrimmedFormatter.php file core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php
TextTrimmedFormatter::defaultSettings function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Defines the default settings for this plugin.
TextTrimmedFormatter::preRenderSummary function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Pre-render callback: Renders a processed text element's #markup summary.
TextTrimmedFormatter::settingsForm function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Returns a form to configure settings for the formatter.
TextTrimmedFormatter::settingsSummary function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Returns a short summary for the current formatter settings.
TextTrimmedFormatter::trustedCallbacks function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Lists the trusted callbacks provided by the implementing class.
TextTrimmedFormatter::viewElements function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Builds a renderable array for a field value.

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