Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By following this method the site builder gets a block to place that can have a set of fields as defined by a view mode. The block's display can be templated in twig accordingly, and its theming will reflect any selected layouts in the display suite controls.
Display Suite is a powerful, highly extensible module that gives developers complete control over how content is displayed. It features an intuitive, drag-and-drop interface and includes a group of pre-configured layouts that make it even easier to control the display of your nodes, views, comments, etc.
Drupalize.Me offers a whole series of free videos exploring the ins and outs of Display Suite...
Display Suite exposes all its settings (displays, fields and view modes) to CTools. This allows you to easily move the displays that you configured to another environment (e.g., from the development to the staging environment).
You can export Display Suite settings with the modules Features or the CTools sub module Bulk Export.
Export settings using Bulk Export
Enable the module Bulk Export at Administration > Modules (admin/modules)
Go to Administration > Structure > Bulk Exporter (admin/structure/bulk-export)
Choose the vertical tab "Display Suite"
Select all the elements that you want to export
Enter a module name, e.g., "ds-settings"
Click "Export". Bulk Export generates export code that needs to be placed in a module.
Create a folder, e.g., "ds-settings" in the modules directory of your website. Copy and paste the export code into the respective files, e.g., "ds-settings.info", "ds-settings.module" and "ds-settings.inc".
You can now move this module to another environment (e.g., staging) and enable it there.
Display Suite allows you to manage the display of content editing forms for entities (such as nodes, views, comments, users, et cetera). This can be useful if you want to provide the users of your website with a customized edit form.
When enabled Display Suite Forms takes over the Drupal core functionality that let you arrange the fields via the "Manage fields” tab.