public function DatexDateTime::getInfo in Datex 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 Datetime::getInfo
File
- src/
Element/ DatexDateTime.php, line 16
Class
- DatexDateTime
- Plugin annotation @FormElement("datetime");
Namespace
Drupal\datex\ElementCode
public function getInfo() {
return [
'#date_date_element' => 'text',
] + parent::getInfo();
}