concrete/src/Page/Theme/ThemeRouteCollection.php
public function getThemeByRoute($path)
    {
        $text = new Text();
        // there's probably a more efficient way to do this
        foreach ($this->themePaths as $lp => $layout) {
            if ($text->fnmatch($lp, $path)) {
                return $layout;
            }
        }
        return false;
    }
public function getThemeByRoute($path)
    {
        $text = new Text();
        // there's probably a more efficient way to do this
        foreach ($this->themePaths as $lp => $layout) {
            if ($text->fnmatch($lp, $path)) {
                return $layout;
            }
        }
        return false;
    }
public function getThemeByRoute ( $ path ) { $ text = new Text ( ) ; // there's probably a more efficient way to do this foreach ( $ this -> themePaths as $ lp => $ layout ) { if ( $ text -> fnmatch ( $ lp , $ path ) ) { return $ layout ; } } return false ; }
This grabs the theme for a particular path, if one exists in the themePaths array. Returns an array with
the theme handle as the first entry and the wrapper file for views as the second.

@param string $path

@return array
This grabs the theme for a particular path if one exists in the themePaths array . Returns an array with the theme handle as the first entry and the wrapper file for views as the second .