public function BynderSelect2SimpleElement::getInfo in Bynder 8
Same name and namespace in other branches
- 8.3 modules/bynder_select2/src/Element/BynderSelect2SimpleElement.php \Drupal\bynder_select2\Element\BynderSelect2SimpleElement::getInfo()
- 8.2 modules/bynder_select2/src/Element/BynderSelect2SimpleElement.php \Drupal\bynder_select2\Element\BynderSelect2SimpleElement::getInfo()
- 4.0.x modules/bynder_select2/src/Element/BynderSelect2SimpleElement.php \Drupal\bynder_select2\Element\BynderSelect2SimpleElement::getInfo()
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 Select::getInfo
File
- modules/
bynder_select2/ src/ Element/ BynderSelect2SimpleElement.php, line 19
Class
- BynderSelect2SimpleElement
- Provides a simple bynder_select2 form element.
Namespace
Drupal\bynder_select2\ElementCode
public function getInfo() {
$info = parent::getInfo();
$class = get_class($this);
$info['#process'] = [
[
$class,
'processBynderSelect2',
],
];
return $info;
}