Global settings and config options

    In Site Studio there are a number of global settings and configuration options that can be set or overridden within your websites settings.php file. 

    Global settings options

    Show the JSON fields for debugging:

    $settings['dx8_json_fields'] = TRUE;    

    Allow the API URL field on the account settings page to be editable:

    $settings['dx8_editable_api_url'] = TRUE;

    Expose a version number field on the account settings page (for development):

    $settings['dx8_editable_version_number'] = TRUE;

    Don't show the API key field on the account settings page:

    $settings['dx8_no_api_keys'] = TRUE;

    Don't show the Google API key page:

    $settings['dx8_no_google_keys'] = TRUE;

    Set the temporary stream wrapper that Site Studio should use:

    $settings['coh_temporary_stream_wrapper'] = 'mytemp://';

    Set the sync directory that Site studio should use:

    $settings['site_studio_sync'] = '../config/sync';

    Set the max number of entities to import via sync in the batch process:

    $settings['sync_max_entity'] = 10;

    Set the max number of entities to rebuild at one time in the rebuild batch process:

    $settings['rebuild_max_entity'] = 10;

    Global config options

    Set Site Studio API key:

    $config['cohesion.settings']['api_key'] = 'api-key';

    Set Site Studio organization key:

    $config['cohesion.settings']['organization_key'] = 'org-key';

    DX8 knowledge base icon

    Frequently asked questions

    Get instant answers to common questions. Available online 24/7.

    Find answers

    Raise a ticket icon

    Raise a support ticket

    To raise a ticket, sign into Acquia Cloud and select Help in the top menu.

    Raise support ticket

    Acquia

    Copyright © 2020 Acquia, Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.