private function GoogleMapFieldEmbedPlaceFormatter::allowedTags in Google Map Field 8
Retrieves list of allowed tags for infowindow popup.
Return value
array List of allowed tags to use on infowindow popup.
1 call to GoogleMapFieldEmbedPlaceFormatter::allowedTags()
- GoogleMapFieldEmbedPlaceFormatter::viewElements in src/
Plugin/ Field/ FieldFormatter/ GoogleMapFieldEmbedPlaceFormatter.php - Builds a renderable array for a field value.
File
- src/
Plugin/ Field/ FieldFormatter/ GoogleMapFieldEmbedPlaceFormatter.php, line 115
Class
- GoogleMapFieldEmbedPlaceFormatter
- Plugin implementation of the 'google_map_field' formatter.
Namespace
Drupal\google_map_field\Plugin\Field\FieldFormatterCode
private function allowedTags() {
return [
'div',
'h1',
'h2',
'h3',
'h4',
'h5',
'h6',
'p',
'span',
'br',
'em',
'strong',
'a',
'img',
'video',
'ul',
'ol',
'li',
];
}