You are here

function drush_patterns_components in Patterns 7.2

Same name and namespace in other branches
  1. 7 patterns.drush.inc \drush_patterns_components()

List of patterns path command callback.

File

./patterns.drush.inc, line 318
Drush Patterns module commands

Code

function drush_patterns_components() {
  drush_print("List of available Patterns components.");
  $paths = patterns_io_list_components_names(TRUE);
  foreach ($paths as $path) {
    drush_print("- {$path}", 4);
  }
  drush_print_pipe(implode(', ', $paths));
}