public static function 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()) . '>';
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!FieldFilteredMarkup.php/function/FieldFilteredMarkup::displayAllowedTags/8.1.x