function _aggregator_allowed_tags in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/aggregator/aggregator.module \_aggregator_allowed_tags()
Gets the list of allowed tags.
@internal
Return value
array The list of allowed tags.
4 calls to _aggregator_allowed_tags()
- AggregatorXSSFormatter::viewElements in core/
modules/ aggregator/ src/ Plugin/ Field/ FieldFormatter/ AggregatorXSSFormatter.php - Builds a renderable array for a field value.
- FeedViewBuilder::buildComponents in core/
modules/ aggregator/ src/ FeedViewBuilder.php - Builds the component fields and properties of a set of entities.
- IntegrationTest::testAggregatorItemView in core/
modules/ aggregator/ src/ Tests/ Views/ IntegrationTest.php - Tests basic aggregator_item view.
- ItemViewBuilder::buildComponents in core/
modules/ aggregator/ src/ ItemViewBuilder.php - Builds the component fields and properties of a set of entities.
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);
}