function _aggregator_allowed_tags
Same name in other branches
- 9 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/ tests/ src/ Kernel/ 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 204
Code
function _aggregator_allowed_tags() {
return preg_split('/\\s+|<|>/', \Drupal::config('aggregator.settings')->get('items.allowed_html'), -1, PREG_SPLIT_NO_EMPTY);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.