public function maintenance()
    {
        $templates = [];

        // First candidate: Theme-specific config.
        if ($template = $this->config->get('theme/maintenance_template')) {
            $templates[] = $template;
        }

        // Second candidate: global config.
        $templates[] = $this->config->get('general/maintenance_template');

        return $templates;
    }
public function maintenance()
    {
        $templates = [];

        // First candidate: Theme-specific config.
        if ($template = $this->config->get('theme/maintenance_template')) {
            $templates[] = $template;
        }

        // Second candidate: global config.
        $templates[] = $this->config->get('general/maintenance_template');

        return $templates;
    }
public function maintenance ( ) { $ templates = [ ] ; // First candidate: Theme-specific config. if ( $ template = $ this -> config -> get ( 'theme/maintenance_template' ) ) { $ templates [ ] = $ template ; } // Second candidate: global config. $ templates [ ] = $ this -> config -> get ( 'general/maintenance_template' ) ; return $ templates ; }
Select a template to use for the "maintenance" page.

@return string[]
Select a template to use for the maintenance page .