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