Drush Commands

Last updated on
30 April 2025

You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules

Drush integration is available from version rc1 of Patterns v.7. Here is a list of currently available commands:

  • patterns: List all available patterns.
  • patterns-components: List all the available patterns components.
  • patterns-paths: List all paths where patterns will be looked for.
  • patterns-allow-publish: Enable/disable patterns publishing.
  • patterns-info: Show all info on a given pattern.
  • patterns-publish: Publish a pattern.
  • patterns-unpublish: Unpublish a pattern.
  • patterns-quickrun: Load a pattern file and executes it without saving it into the database.
  • patterns-run: Import and enable the specified pattern file.
  • patterns-import: Import a pattern local file into the database.
  • patterns-import-remote: Import a remote pattern file into the database.
  • patterns-export: Export data from all or a selection of patterns components to a file, a zip file, or saves it into the database.

Help improve this page

Page status: Not set

You can: