You are here

function _minisite_site_load_alias in Mini site 7

Return minisite entity alias path.

1 call to _minisite_site_load_alias()
minisite_site_paths_info in includes/minisite.site.inc
Return minisite paths information.

File

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

Code

function _minisite_site_load_alias($entity_type, $entity) {
  $entity_uri = entity_uri($entity_type, $entity);
  $entity_path = $entity_uri['path'];
  return drupal_get_path_alias($entity_path);
}