function protected static function ProcessManager::getInlineElementTypes
8.x-3.x ProcessManager.php | protected static ProcessManager::getInlineElementTypes() |
Retrieves the element types that should be rendered as inline.
@internal
Return value
array The inline element types.
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.
Class
- ProcessManager
- Manages discovery and instantiation of Bootstrap form process callbacks.
Namespace
Drupal\bootstrap\PluginSource src/Plugin/ProcessManager.php (line 106)
protected static function getInlineElementTypes() {
if (!static::$inlineElementTypes) {
$types = ['color', 'date', 'number', 'range', 'tel', 'weight'];
\Drupal::theme()->alter('bootstrap_inline_element_types', $types);
static::$inlineElementTypes = $types;
}
return static::$inlineElementTypes;
}