public function SynonymsEntitySelect::getInfo in Synonyms 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 Select::getInfo
File
- src/
Element/ SynonymsEntitySelect.php, line 25
Class
- SynonymsEntitySelect
- Form element for synonyms-friendly entity select.
Namespace
Drupal\synonyms\ElementCode
public function getInfo() {
$info = parent::getInfo();
array_unshift($info['#process'], [
get_class($this),
'elementSynonymsEntitySelect',
]);
$info['#element_validate'][] = [
get_class($this),
'validateEntitySelect',
];
return $info;
}