protected _expandTheme ( string $file ) : string | ||
$file | string | The theme file to find. |
Résultat | string | The expanded path |
protected function _expandTheme($file)
{
$file = preg_replace(self::THEME_PATTERN, '', $file);
return Plugin::path($this->theme) . 'webroot' . DS . $file;
}