src/Forms/FormField.php
protected function _templates($customTemplate = null, $customTemplateSuffix = null)
    {
        $templates = SSViewer::get_templates_by_class(static::class, $customTemplateSuffix, __CLASS__);
        // Prefer any custom template
        if ($customTemplate) {
            // Prioritise direct template
            array_unshift($templates, $customTemplate);
        }
        return $templates;
    }
protected function _templates($customTemplate = null, $customTemplateSuffix = null)
    {
        $templates = SSViewer::get_templates_by_class(static::class, $customTemplateSuffix, __CLASS__);
        // Prefer any custom template
        if ($customTemplate) {
            // Prioritise direct template
            array_unshift($templates, $customTemplate);
        }
        return $templates;
    }
protected function _templates ( $ customTemplate = null , $ customTemplateSuffix = null ) { $ templates = SSViewer :: get_templates_by_class ( static :: class , $ customTemplateSuffix , __CLASS__ ) ; // Prefer any custom template if ( $ customTemplate ) { // Prioritise direct template array_unshift ( $ templates , $ customTemplate ) ; } return $ templates ; }
Generate an array of class name strings to use for rendering this form field into HTML.

@param string $customTemplate
@param string $customTemplateSuffix

@return array
Generate an array of class name strings to use for rendering this form field into HTML .