drush ds-buildfor drush 7x
Create a basic template and configuration file for a new Display Suite layout.
ds-build is a Drush command from the ds project.ds
ds-build accepts 1 argument/s:
name : Name for your layout.
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.
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 powered by Disqus