src/Forms/GridField/GridFieldDetailForm_ItemRequest.php
public function getTemplates()
    {
        $templates = SSViewer::get_templates_by_class($this, '', __CLASS__);
        // Prefer any custom template
        if ($this->getTemplate()) {
            array_unshift($templates, $this->getTemplate());
        }
        return $templates;
    }
public function getTemplates()
    {
        $templates = SSViewer::get_templates_by_class($this, '', __CLASS__);
        // Prefer any custom template
        if ($this->getTemplate()) {
            array_unshift($templates, $this->getTemplate());
        }
        return $templates;
    }
public function getTemplates ( ) { $ templates = SSViewer :: get_templates_by_class ( $ this , '' , __CLASS__ ) ; // Prefer any custom template if ( $ this -> getTemplate ( ) ) { array_unshift ( $ templates , $ this -> getTemplate ( ) ) ; } return $ templates ; }
Get list of templates to use

@return array
Get list of templates to use