You are here

function minisite_site_extract in Mini site 7

Exact minisite files.

1 call to minisite_site_extract()
minisite_site_save in ./minisite.module
Save and extract minisite.

File

includes/minisite.site.inc, line 11
minisite.site.inc

Code

function minisite_site_extract(stdClass $file, $minisite_extract_path = MINISITE_ASSETPATH) {
  $archive = MinisiteArchive::open($file);
  $archive
    ->extract('public://' . $minisite_extract_path);
}