FieldFilteredMarkup::allowedTags

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'];
}
doc_Drupal
2016-10-29 09:11:28
Comments
Leave a Comment

Please login to continue.