You are here

function gardens_site_data_get_public_files_directory in Acquia Cloud Site Factory Connector 8.2

Same name and namespace in other branches
  1. 8 acsf_init/lib/sites/g/sites.inc \gardens_site_data_get_public_files_directory()

Returns the location of the public files directory.

Parameters

string $db_role: The site's db role.

Return value

string The public files directory location.

1 call to gardens_site_data_get_public_files_directory()
gardens_site_data_build_data in acsf_init/lib/sites/g/sites.inc
Returns the data structure for a single site.

File

acsf_init/lib/sites/g/sites.inc, line 276
ACSF helper functions for Drupal's multi-site directory aliasing feature.

Code

function gardens_site_data_get_public_files_directory($db_role) {
  return "sites/g/files/{$db_role}/files";
}