You are here

function minisite_site_hash in Mini site 7

Generate minisite site hash.

2 calls to minisite_site_hash()
minisite_site_asset_info in includes/minisite.site.inc
Fetch minisite information.
minisite_site_delete in ./minisite.module
Delete minisite.

File

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

Code

function minisite_site_hash(stdClass $file) {
  if ($file && isset($file->fid)) {
    $fid = $file->fid;
    return $fid;
  }
  else {
    return '';
  }
}