drush ds-buildfor drush 8x
Create a basic template and configuration file for a new Display Suite layout.
drush ds-build
ds-build is a Drush command from the ds project.
ds-
Arguments
ds-build accepts 1 argument/s:
name : Name for your layout.
-
Options
ds-build accepts 4 option/s:
--name : Name for your layout.
--regions : Regions for your layout, comma-separated.
--css : Set this to true if you want to include a CSS file for your layout.
--image : Set this to true if you want to include a preview image for your layout.
-
Examples
Create a layout with a few example regions.
drush ds-build "My layout name"
Create a layout with custom regions.
drush ds-build "My layout name" --regions="Region 1, Region 2"
Create a layout with an included CSS file.
drush ds-build "My layout name" --css
-
Comments
comments powered by Disqus