public static FieldFilteredMarkup::allowedTags()
Returns the allowed tag list.
Return value
string[] A list of allowed tags.
File
- core/lib/Drupal/Core/Field/FieldFilteredMarkup.php, line 58
Class
- FieldFilteredMarkup
- Defines an object that passes safe strings through the Field system.
Namespace
Drupal\Core\Field
Code
public static function allowedTags() { return ['a', 'b', 'big', 'code', 'del', 'em', 'i', 'ins', 'pre', 'q', 'small', 'span', 'strong', 'sub', 'sup', 'tt', 'ol', 'ul', 'li', 'p', 'br', 'img']; }
Please login to continue.