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.
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.