Functions

Contains filters are case sensitive
Namesort descending Location Description
drush_get_token commands/core/drupal/environment_7.inc
drush_get_token commands/core/drupal/environment_6.inc
drush_get_token commands/core/drupal/environment.inc
drush_get_topics commands/core/topic.drush.inc Retrieve all defined topics
drush_get_update_list commands/core/drupal/update.inc
drush_get_username includes/environment.inc Return the name of the user running drush.
drush_global_options_command commands/core/help.drush.inc Build a fake command for the purposes of showing examples and options.
drush_handle_command_output includes/command.inc 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_has_bash includes/environment.inc Checks if the operating system has bash.
drush_has_boostrapped includes/bootstrap.inc Determine whether a given bootstrap phase has been completed
drush_help_html commands/core/help.drush.inc Return an HTML page documenting all available commands and global options.
drush_help_html_command_list commands/core/help.drush.inc
drush_help_html_global_options commands/core/help.drush.inc
drush_help_html_header commands/core/help.drush.inc Return an HTML page header.
drush_help_listing_print commands/core/help.drush.inc Print CLI table or HTML table listing all commands.
drush_help_section_default_formatter commands/core/help.drush.inc The default section formatter. Replaces '[command]' with the command name.
drush_help_section_formatter_options commands/core/help.drush.inc The options section formatter. Adds a "--" in front of each item label. Also handles short-form and example-value components in the help attributes.
drush_help_visible commands/core/help.drush.inc
drush_hide_empty_fields includes/output.inc Hide any fields that are empty
drush_hide_output_fields commands/core/outputformat.drush.inc Specify that certain fields should not appear in the resulting output.
drush_hook_COMMAND ./drush.api.php Implementation of the actual drush command.
drush_hook_COMMAND_pre_validate ./drush.api.php Run before a specific command validates.
drush_hook_COMMAND_validate ./drush.api.php Run before a specific command executes.
drush_hook_post_COMMAND ./drush.api.php Run after a specific command executes.
drush_hook_pre_COMMAND ./drush.api.php Run before a specific command executes.
drush_hook_pre_pm_enable ./drush.api.php Automatically download project dependencies at pm-enable time.
drush_html_to_text includes/output.inc Convert html to readable text. Compatible API to drupal_html_to_text, but less functional. Caller might prefer to call drupal_html_to_text if there is a bootstrapped Drupal site available.
drush_hyphenate_options includes/complete.inc Simple helper function to ensure options are properly hyphenated before we return them to the user (we match against the non-hyphenated versions internally).
drush_image_derive commands/core/image.drush.inc
drush_image_derive_validate commands/core/image.drush.inc
drush_image_flush commands/core/image.drush.inc
drush_image_flush_pre_validate commands/core/image.drush.inc
drush_image_flush_single commands/core/drupal/image.inc
drush_image_flush_single commands/core/drupal/image_7.inc
drush_image_styles commands/core/drupal/image.inc
drush_image_styles commands/core/drupal/image_7.inc
drush_image_style_load commands/core/drupal/image.inc
drush_image_style_load commands/core/drupal/image_7.inc
drush_include includes/drush.inc Include a file, selecting a version specific file if available.
drush_include_engine includes/engines.inc Include the engine code for a specific named engine of a certain type.
drush_init_core_init commands/core/init.drush.inc Initialize local Drush configuration
drush_init_find_bashrc commands/core/init.drush.inc Determine which .bashrc file is best to use on this platform.
drush_invoke includes/command.inc Invokes a Drush API call, including all hooks.
drush_invoke_process includes/command.inc Invoke a command in a new process, targeting the site specified by the provided site alias record.
drush_is_absolute_path includes/filesystem.inc Determines whether the provided path is absolute or not on the specified O.S. -- starts with "/" on *nix, or starts with "[A-Z]:\" or "[A-Z]:/" on Windows.
drush_is_command includes/command.inc
drush_is_cygwin includes/environment.inc Check if the operating system is Winodws running some variant of cygwin -- either Cygwin or the MSYSGIT shell. If you care which is which, test mingw first.
drush_is_local_host includes/environment.inc Make a determination whether or not the given host is local or not.
drush_is_mingw includes/environment.inc
drush_is_nested_directory includes/filesystem.inc Return 'TRUE' if one directory is located anywhere inside the other.

Pages