Back to TimeField class

Method getLayoutData

protected array
getLayoutData
()
Method to get the data to be passed to the layout for rendering.
Returns
  • array
Since
  • 4.0.0
Class: TimeField
Project: Joomla

Method getLayoutData - Source code

/**
 * Method to get the data to be passed to the layout for rendering.
 *
 * @return  array
 *
 * @since 4.0.0
 */
protected function getLayoutData()
{
    $data = parent::getLayoutData();
    $extraData = ['min' => $this->min, 'max' => $this->max, 'step' => $this->step];
    return array_merge($data, $extraData);
}