Functions

Contains filters are case sensitive
Namesort descending Location Description
_drush_generate_makefile_check_path commands/make/generate.make.inc Helper function to check for a non-default installation location.
_drush_generate_track_version commands/make/generate.make.inc Helper function to determine if a given project is to have its version tracked.
_drush_generate_validate_repo_location commands/make/generate.make.inc If the user has checked in the Drupal root, or the 'sites/all/modules' folder into a git repository, then we do not want to confuse that location with a "project".
_drush_get_command_options includes/command.inc Return the list of all of the options for the given command record by merging the 'options' and 'sub-options' records.
_drush_get_option includes/context.inc Helper function to recurse through possible option names
_drush_get_os includes/environment.inc Return the OS we are running under.
_drush_help_merge_subcommand_information commands/core/help.drush.inc Check to see if the specified command contains an 'allow-additional-options' record. If it does, find the additional options that are allowed, and add in the help text for the options of all of the sub-commands.
_drush_help_sort_command_options commands/core/help.drush.inc Sort command options alphabetically. Engine options at the end.
_drush_image_derive commands/core/drupal/image.inc
_drush_image_derive commands/core/drupal/image_7.inc
_drush_invoke_hooks includes/command.inc Invoke Drush API calls, including all hooks.
_drush_is_drush_shebang_line includes/drush.inc Check to see if the provided line is a "#!/usr/bin/env drush" "shebang" script line.
_drush_is_drush_shebang_script includes/drush.inc Check to see if the provided script file is a "#!/usr/bin/env drush" "shebang" script line.
_drush_is_url includes/drush.inc Check whether the given path is just a url or a local path
_drush_log includes/drush.inc Call the default logger, or the user's log callback, as appropriate.
_drush_log_drupal_messages includes/drush.inc Turn drupal_set_message errors into drush_log errors
_drush_log_update_sql includes/drupal.inc Log the return value of Drupal hook_update_n functions.
_drush_make_generate_add_patch_files commands/make/generate.make.inc Record any patches that were applied to this project per information stored in PATCHES.txt.
_drush_make_generate_defaults commands/make/generate.contents.make.inc
_drush_make_generate_get_version_options commands/make/generate.make.inc Create the $version_options array from the --include-versions and --exclude-versions command line options.
_drush_make_generate_lines commands/make/generate.contents.make.inc Utility function to generate the line or lines for a key/value pair in the make file.
_drush_make_generate_makefile_body commands/make/generate.contents.make.inc
_drush_make_generate_makefile_contents commands/make/generate.contents.make.inc Generate the actual contents of the .make file.
_drush_make_generate_projects commands/make/generate.make.inc Generate the $projects makefile array for the current site.
_drush_php_ini_loaded_file_message includes/environment.inc Returns a localizable message about php.ini that varies depending on whether the php_ini_loaded_file() is available or not.
_drush_pm_disable commands/core/drupal/pm_8.inc Command callback. Drupal 8 does not support disabled modules.
_drush_pm_disable commands/core/drupal/pm.inc Command callback. Disable one or more extensions.
_drush_pm_expand_extensions commands/pm/pm.drush.inc Add extensions that match extension_name*.
_drush_pm_extension_cache_file commands/pm/pm.drush.inc Returns the path to the extensions cache file.
_drush_pm_find_common_path commands/pm/pm.drush.inc Helper function to find the common path for a list of extensions in the aim to obtain the project name.
_drush_pm_generate_info_ini_metadata commands/pm/pm.drush.inc Generate version information for `.info` files in ini format.
_drush_pm_generate_info_yaml_metadata commands/pm/pm.drush.inc Generate version information for `.info` files in YAML format.
_drush_pm_get_extension_cache commands/pm/pm.drush.inc Load the extensions cache.
_drush_pm_info_extension commands/pm/info.pm.inc Return an array with general info of an extension.
_drush_pm_info_format_table_data commands/pm/info.pm.inc Output format formatter-filter callback.
_drush_pm_info_module commands/pm/info.pm.inc Return an array with info of a module.
_drush_pm_info_theme commands/pm/info.pm.inc Return an array with info of a theme.
_drush_pm_sort_extensions commands/pm/pm.drush.inc Sort callback function for sorting extensions.
_drush_pm_uninstall commands/core/drupal/pm_8.inc Command callback. Uninstall one or more extensions.
_drush_pm_uninstall commands/core/drupal/pm.inc Command callback. Uninstall one or more modules.
_drush_postmortem includes/environment.inc Evalute the environment after an abnormal termination and see if we can determine any configuration settings that the user might want to adjust.
_drush_preflight_alias_path includes/preflight.inc
_drush_preflight_base_environment includes/preflight.inc Sets up basic environment that controls where Drush looks for files on a system-wide basis. Important to call for "early" functions that need to work with unit tests.
_drush_preflight_columns includes/preflight.inc
_drush_preflight_global_options includes/preflight.inc
_drush_preflight_root_uri includes/preflight.inc
_drush_preflight_uri includes/preflight.inc If --uri is provided, set context.
_drush_prepare_command includes/command.inc Called by drush_parse_command(). If a command is dispatched directly by drush_dispatch(), then drush_dispatch() will call this function.
_drush_print_config_changes_table commands/core/config.drush.inc Print a table of config changes.
_drush_recursive_copy includes/filesystem.inc Internal function called by drush_copy_dir; do not use directly.

Pages