You are here

public function CalendarSystemsDate::getInfo in Calendar Systems 8.3

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/CalendarSystemsDate.php, line 57

Class

CalendarSystemsDate
Plugin annotation @FormElement("date");

Namespace

Drupal\calendar_systems\Element

Code

public function getInfo() {
  return [
    '#date_date_element' => 'text',
  ] + parent::getInfo();
}