FieldFilteredMarkup::displayAllowedTags

public static 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.

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\Field

Code

public static function displayAllowedTags() {
  return '<' . implode('> <', static::allowedTags()) . '>';
}
doc_Drupal
2016-10-29 09:11:29
Comments
Leave a Comment

Please login to continue.