Functions

Contains filters are case sensitive
Namesort descending Location Description
drush_get_cid includes/cache.inc Create a cache id from a given prefix, contexts, and any additional parameters necessary.
drush_get_command includes/context.inc Return the command being executed.
drush_get_commandfile_for_command includes/command.inc Get the short commandfile name that matches the command.
drush_get_commands includes/command.inc Get a list of all implemented commands. This invokes hook_drush_command().
drush_get_context includes/context.inc Return a specific context, or the whole context cache
drush_get_context_options includes/context.inc Get all of the values for an option in every context.
drush_get_editor includes/exec.inc
drush_get_engines includes/drush.inc Return a structured array of engines of a specific type.
drush_get_engine_types_info includes/drush.inc Obtain all engine types info and normalize with defaults.
drush_get_error includes/drush.inc Return the current error handling status
drush_get_error_log includes/drush.inc Return the current list of errors that have occurred.
drush_get_extensions includes/environment.inc Get complete information for all available extensions (modules and themes).
drush_get_extension_status commands/pm/pm.drush.inc Calculate a extension status based on current status and schema version.
drush_get_global_options includes/drush.inc Get the available global options. Used by help command. Command files may modify this list using hook_drush_help_alter().
drush_get_log includes/drush.inc Retrieve the log messages from the log history
drush_get_merged_options includes/context.inc Retrieves a collapsed list of all options.
drush_get_merged_prefixed_options includes/context.inc Retrieves a collapsed list of all options with a specified prefix.
drush_get_modules commands/core/drupal/environment_6.inc Get complete information for all available modules.
drush_get_modules commands/core/drupal/environment.inc Get complete information for all available modules.
drush_get_option includes/context.inc Get the value for an option.
drush_get_option_list includes/context.inc Get the value for an option and return it as a list. If the option in question is passed on the command line, its value should be a comma-separated list (e.g. --flag=1,2,3). If the option was set in a drushrc.php file, then its value may be either…
drush_get_option_override includes/context.inc Get the value for an option, but first checks the provided option overrides.
drush_get_original_cli_args_and_options includes/command.inc Return the original cli args and options, exactly as they appeared on the command line, and in the same order. Any command-specific options that were set will also appear in this list, appended at the very end.
drush_get_projects commands/pm/pm.drush.inc Obtain an array of installed projects off the extensions available.
drush_get_special_keys includes/sitealias.inc Helper function to obtain the keys' names that need special handling in certain cases.
drush_get_tar_executable includes/environment.inc
drush_get_themes commands/core/drupal/environment_6.inc Get complete information for all available themes.
drush_get_themes commands/core/drupal/environment.inc Get complete information for all available themes.
drush_get_topics commands/core/topic.drush.inc Retrieve all defined topics
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_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_categorize commands/core/help.drush.inc
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 that includes all global options.
drush_help_listing_print commands/core/help.drush.inc
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_hook_COMMAND docs/drush.api.php Implementation of the actual drush command.
drush_hook_COMMAND_pre_validate docs/drush.api.php Run before a specific command validates.
drush_hook_COMMAND_validate docs/drush.api.php Run before a specific command executes.
drush_hook_post_COMMAND docs/drush.api.php Run after a specific command executes. Logging an error stops command execution.
drush_hook_pre_COMMAND docs/drush.api.php Run before a specific command executes. Logging an error stops command execution.
drush_hook_pre_pm_enable docs/drush.api.php Automatically download project dependencies at pm-enable time. Use a pre-pm_enable hook to download before your module is enabled, or a post-pm_enable hook (drush_hook_post_pm_enable) to run after your module is enabled.
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).

Pages