function hook_bootstrap_inline_element_types_alter
8.x-3.x bootstrap.api.php | hook_bootstrap_inline_element_types_alter(array &$types) |
Allows sub-themes to alter element types that should be rendered as inline.
Parameters
array $types: The list of element types that should be rendered as inline.
Deprecated
in bootstrap:8.x-3.21 and is removed from bootstrap:8.x-4.0. This method will be removed when process managers can be sub-classed.
Related topics
Source ./bootstrap.api.php (line 77)
function hook_bootstrap_inline_element_types_alter(array &$types) {
// Remove certain types from the list.
foreach (['number', 'tel'] as $type) {
$index = array_search($type, $types);
if ($index !== FALSE) {
unset($types[$index]);
}
}
}