function drush_print_pipe

8.0.x drush_print_pipe($message = '')
6.x drush_print_pipe($message = '')
7.x drush_print_pipe($message = '')
3.x drush_print_pipe($message = '')
4.x drush_print_pipe($message = '')
5.x drush_print_pipe($message = '')
master drush_print_pipe($message = '')

Stores a message which is printed during drush_shutdown() if in compact mode.


$message: The message to print. If $message is an array, then each element of the array is printed on a separate line.

Related topics

6 calls to drush_print_pipe()
drush_choice in includes/
Ask the user to select an item from a list. From a provided associative array, drush_choice will display all of the questions, numbered from 1 to N, and return the item the user selected. "0" is always cancel; entering a blank line is also…
drush_core_help in commands/core/
Command callback for help command. This is the default command, when none other has been specified.
drush_handle_command_output in includes/
Convert the structured output array provided from the Drush command into formatted output. Output is only printed for commands that define 'default-format' &/or 'default-pipe-format'; all other commands are expected to do…
drush_make_pre_make in commands/make/
Implements drush_hook_pre_COMMAND().
drush_pm_extensions_in_project in commands/pm/
Print out all extensions (modules/themes/profiles) found in specified project.

... See full list


includes/, line 58


function drush_print_pipe($message = '') {
  $buffer = &drush_get_context('DRUSH_PIPE_BUFFER', '');
  if (is_array($message)) {
    $message = implode("\n", $message) . "\n";
  $buffer .= $message;