Microweber\Providers\LayoutsManager::get_all PHP Метод

get_all() публичный Метод

You can use this function to get layouts from various folders in your web server. It returns array of layouts with desctption, icon, etc This function caches the result in the 'templates' cache group
public get_all ( boolean | array | string $options = false ) : array | mixed
$options boolean | array | string
Результат array | mixed
    public function get_all($options = false)
    {
        $layouts_from_template = $this->scan($options);
        $external_layouts = $this->external_layouts;
        if (is_array($layouts_from_template)) {
            $res = array_merge($layouts_from_template, $external_layouts);
        } else {
            $res = $external_layouts;
        }
        return $res;
    }