function _smart_title_tag_options in Smart Title 8
Returns the available HTML tags for Smart Title formatter.
Return value
array Wrapper options for smart title formatter.
1 call to _smart_title_tag_options()
- EntityViewDisplayAlterer::getSettingsInputsFromSettings in src/
EntityViewDisplayAlterer.php - Returns the input elements for smart title.
File
- ./
smart_title.module, line 179 - Contains hooks and private functions of smart_title.module.
Code
function _smart_title_tag_options() {
// @TODO: (add alter || convert to config) && validate.
return [
'h1' => 'H1',
'h2' => 'H2',
'h3' => 'H3',
'h4' => 'H4',
'h5' => 'H5',
'h6' => 'H6',
'div' => 'div',
'span' => 'span',
];
}