Functions

Contains filters are case sensitive
Namesort descending Location Description
drush_get_engines includes/drush.inc Return a structured array of engines of a specific type from commandfiles implementing hook_drush_engine_$type.
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_modules commands/core/drupal/environment_6.inc Get complete information for all available modules.
drush_get_modules commands/core/drupal/environment_5.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_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_themes commands/core/drupal/environment_6.inc Get complete information for all available themes.
drush_get_themes commands/core/drupal/environment_5.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_global_options_command commands/core/help.drush.inc Build a fake command for the purposes of showing examples and options.
drush_has_boostrapped includes/environment.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 that includes all global options.
drush_help_section_default_formatter includes/drush.inc The default section formatter. Replaces '[command]' with the command name.
drush_help_section_formatter_options includes/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_hook_COMMAND docs/drush.api.php Implementation of the actual drush command.
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_site_upgrade_prepare docs/drush.api.php Take action before modules are disabled in a major upgrade. Note that when this hook fires, it will be operating on a copy of the database.
drush_html_to_text includes/drush.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_image_flush commands/core/image.drush.inc
drush_image_flush_all commands/core/image.drush.inc
drush_include includes/drush.inc Include a file, selecting a version specific file if available.
drush_include_engine includes/drush.inc Include the engine code for a specific named engine of a certain type.
drush_invoke includes/command.inc Invoke drush api calls.
drush_invoke_args includes/command.inc As drush_invoke, but args are passed in as an array rather than as individual function parameters.
drush_invoke_process includes/command.inc Invoke a command in a new process, targeting the site specified by the provided site alias record.
drush_invoke_process_args includes/command.inc Invoke a command in a new process.
drush_invoke_sitealias includes/command.inc Invoke a command in a new process, targeting the site specified by the provided site alias record.
drush_invoke_sitealias_args includes/command.inc Invoke a command in a new process, targeting the site specified by the provided site alias record.
drush_is_command includes/command.inc
drush_is_local_host includes/environment.inc Make a determination whether or not the given host is local or not.
drush_is_windows includes/drush.inc Check if the operating system is Windows.
drush_json_decode includes/drush.inc Converts an HTML-safe JSON string into its PHP equivalent.
drush_json_encode includes/drush.inc Converts a PHP variable into its Javascript equivalent.
drush_key_value_to_array_table includes/drush.inc Convert an associative array of key : value pairs into a table suitable for processing by drush_print_table.

Pages