src/Security/Security.php
public function getTemplatesFor($action)
    {
        $templates = SSViewer::get_templates_by_class(static::class, "_{$action}", __CLASS__);

        return array_merge(
            $templates,
            [
                "Security_{$action}",
                "Security",
                $this->config()->get("template_main"),
                "BlankPage"
            ]
        );
    }
public function getTemplatesFor($action)
    {
        $templates = SSViewer::get_templates_by_class(static::class, "_{$action}", __CLASS__);

        return array_merge(
            $templates,
            [
                "Security_{$action}",
                "Security",
                $this->config()->get("template_main"),
                "BlankPage"
            ]
        );
    }
public function getTemplatesFor ( $ action ) { $ templates = SSViewer :: get_templates_by_class ( static :: class , "_{$action}" , __CLASS__ ) ; return array_merge ( $ templates , [ "Security_{$action}" , "Security" , $ this -> config ( ) -> get ( "template_main" ) , "BlankPage" ] ) ; }
Determine the list of templates to use for rendering the given action.

@skipUpgrade
@param string $action
@return array Template list
Determine the list of templates to use for rendering the given action .