function _aggregator_allowed_tags

_aggregator_allowed_tags()

Gets the list of allowed tags.

@internal

Return value

array The list of allowed tags.

File

core/modules/aggregator/aggregator.module, line 171
Used to aggregate syndicated content (RSS, RDF, and Atom).

Code

function _aggregator_allowed_tags() {
  return preg_split('/\s+|<|>/', \Drupal::config('aggregator.settings')->get('items.allowed_html'), -1, PREG_SPLIT_NO_EMPTY);
}

© 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!modules!aggregator!aggregator.module/function/_aggregator_allowed_tags/8.1.x