Site data management utility functions.

The provision framework maintains a site.php file in the sites directory, to maintain additional information from the front end, as well as providing a change history of setting changes.

These functions load, save and manage changes made to the site data. This data has diagnostic and infrastructure values, that allow sites to be more easily moved between different provisioned platforms.

Functions

Name Locationsort descending Description
provision_is_local_host ./provision.inc Make a determination whether or not the given host is local or not.
provision_fqdn ./provision.inc return the FQDN of the machine or provided host
provision_get_base_url ./provision.inc Retrieve a base_url for the currently active site.
provision_save_server_data ./provision.inc Save modified options to the drushrc.php file
provision_save_site_data ./provision.inc
provision_save_platform_data ./provision.inc Save modified options to the drushrc.php file

File

./provision.inc, line 97
The provisioning framework API.