Version:

    Templates Drush command

    From Site Studio 6.8.2 you can use the Drush command below for triggering the regeneration of Templates in Site Studio:

    drush sitestudio:templates:regenerate
    
    

    The main purpose of this command is for resolving edge case situations. There are no benefits in using it in normal development or deployment workflow. It is only useful if your Drupal config is in a state where template suggestions in Site Studio are missing. For example, if a Drupal Content Type and View mode exists, but Site Studio doesn't detect this and the Site Studio Templates list for this Content Type does not show the Template suggestion for this View mode. Using this command will regenerate the list of template suggestions in Site Studio and the Template will be made available for regular use.

    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.