public function RangeSlider::getInfo in Range Slider 8
Returns the element properties for this element.
Return value
array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format.
Overrides Range::getInfo
File
- src/
Element/ RangeSlider.php, line 40
Class
- RangeSlider
- Provides a slider for input of a number within a specific range.
Namespace
Drupal\range_slider\ElementCode
public function getInfo() {
return [
'#process' => [
[
get_class($this),
'processRangeSlider',
],
],
'#data-orientation' => 'horizontal',
'#output' => FALSE,
'#output__field_prefix' => '',
'#output__field_suffix' => '',
] + parent::getInfo();
}