function FieldFilteredMarkup::displayAllowedTags
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldFilteredMarkup.php \Drupal\Core\Field\FieldFilteredMarkup::displayAllowedTags()
- 8.9.x core/lib/Drupal/Core/Field/FieldFilteredMarkup.php \Drupal\Core\Field\FieldFilteredMarkup::displayAllowedTags()
- 10 core/lib/Drupal/Core/Field/FieldFilteredMarkup.php \Drupal\Core\Field\FieldFilteredMarkup::displayAllowedTags()
Returns a human-readable list of allowed tags for display in help texts.
Return value
string A human-readable list of allowed tags for display in help texts.
5 calls to FieldFilteredMarkup::displayAllowedTags()
- FieldConfigEditForm::form in core/
modules/ field_ui/ src/ Form/ FieldConfigEditForm.php - Gets the actual form array to be built.
- FieldFilteredMarkupTest::testDisplayAllowedTags in core/
tests/ Drupal/ Tests/ Core/ Field/ FieldFilteredMarkupTest.php - @covers ::displayAllowedTags
- ListFloatItem::allowedValuesDescription in core/
modules/ options/ src/ Plugin/ Field/ FieldType/ ListFloatItem.php - Provides the field type specific allowed values form element #description.
- ListIntegerItem::allowedValuesDescription in core/
modules/ options/ src/ Plugin/ Field/ FieldType/ ListIntegerItem.php - Provides the field type specific allowed values form element #description.
- ListStringItem::allowedValuesDescription in core/
modules/ options/ src/ Plugin/ Field/ FieldType/ ListStringItem.php - Provides the field type specific allowed values form element #description.
File
-
core/
lib/ Drupal/ Core/ Field/ FieldFilteredMarkup.php, line 68
Class
- FieldFilteredMarkup
- Defines an object that passes safe strings through the Field system.
Namespace
Drupal\Core\FieldCode
public static function displayAllowedTags() {
return '<' . implode('> <', static::allowedTags()) . '>';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.