Tel::preRenderTel

public static function Tel::preRenderTel

public static Tel::preRenderTel($element)

Prepares a #type 'tel' render element for input.html.twig.

Parameters

array $element: An associative array containing the properties of the element. Properties used: #title, #value, #description, #size, #maxlength, #placeholder, #required, #attributes.

Return value

array The $element with prepared variables ready for input.html.twig.

File

登录查看完整内容