Acquia Cohesion renames to Site Studio from version 6.2. Tell me more.

    Package export using drush

    To export Site Studio packages and dependencies to your sync directory, use the following Drush command:

    $ drush sync:export

    This command has the following options:

    • --filename-prefix[=FILENAME-PREFIX] The export filename prefix that will output a file like: [prefix]-package.yml_ 

    The resulting .yml_ package file will be exported by default to the sync folder configured via the following value in your settings.php file:

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


    When exporting configuration through sync:export, json can be configured to be output as non serialised values. This increases the readability of packages when doing using version control as json values will be displayed on multiple lines.

    To enable this functionality add $settings['site_studio_package_multiline'] = TRUE to your settings.php.

    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


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