138 calls to drush_log()
- dlm in includes/drush.inc
- Run print_r on a variable and log the output.
- DrushBatchContext::offsetSet in includes/batch.inc
- DrushMakeProject::applyPatches in commands/make/make.project.inc
- Retrieve and apply any patches specified by the makefile to this project.
- DrushMakeProject::getTranslations in commands/make/make.project.inc
- Retrieve translations for this project.
- DrushMakeProject::make in commands/make/make.project.inc
- Build a project.
- DrushMakeProject::recurse in commands/make/make.project.inc
- Recurse to process additional makefiles that may be found during
processing.
- drush_archive_dump in commands/core/archive.drush.inc
- Command callback. Generate site archive file.
- drush_archive_restore in commands/core/archive.drush.inc
- Command callback. Restore web site(s) from a site archive file.
- drush_backend_parse_packets in includes/backend.inc
- Parse out and remove backend packet from the supplied string and
invoke the commands.
- drush_bootstrap in includes/bootstrap.inc
- Bootstrap Drush to the desired phase.
- drush_bootstrap_to_phase in includes/bootstrap.inc
- Bootstrap to the specified phase.
- drush_cache_command_clear in commands/core/cache.drush.inc
- Command callback for drush cache-clear.
- drush_cache_command_get in commands/core/cache.drush.inc
- Print an object returned from the cache.
- drush_cache_get in includes/cache.inc
- Return data from the persistent cache
- drush_cache_set in includes/cache.inc
- Store data in the persistent cache.
- drush_check_self_update in includes/drush.inc
- Check to see if a newer version of drush is available
- drush_command in includes/command.inc
- Entry point for commands into the drush_invoke() API
- drush_command_include in includes/command.inc
- Conditionally include files based on the command used.
- drush_command_set_command_specific in includes/command.inc
- drush_copy_dir in includes/filesystem.inc
- Copy $src to $dest.
- drush_core_cron in commands/core/core.drush.inc
- Command callback. Runs cron hooks.
- drush_core_php_script in commands/core/core.drush.inc
- Command callback. Runs "naked" php scripts
and drush "shebang" scripts ("#!/usr/bin/env drush").
- drush_core_pre_site_install in commands/core/site_install.drush.inc
- Perform setup tasks for installation.
- drush_core_site_install_validate in commands/core/site_install.drush.inc
- Command validate.
- drush_core_site_install_version in commands/core/drupal/site_install_6.inc
- Install Drupal 6.x
- drush_core_site_install_version in commands/core/drupal/site_install.inc
- Install Drupal 7+
- drush_core_updatedb in commands/core/core.drush.inc
- Command handler. Execute update.php code from drush.
- drush_core_watchdog_delete in commands/core/watchdog.drush.inc
- Command callback.
- drush_core_watchdog_show_many in commands/core/watchdog.drush.inc
- Print a table of watchdog messages.
- drush_dispatch in includes/command.inc
- Given a command record, dispatch it as if it were
the original command. Executes in the currently
bootstrapped site using the current option contexts.
Note that drush_dispatch will not bootstrap any further than the
current command has already…
- drush_download_file in includes/drush.inc
- Download a file using wget, curl or file_get_contents, or via download cache.
- drush_do_command_redispatch in includes/drush.inc
- Redispatch the specified command using the same
options that were passed to this invocation of drush.
- drush_do_multiple_command in includes/drush.inc
- Used by functions that operate on lists of sites, moving
information from the source to the destination. Currenlty
this includes 'drush rsync' and 'drush sql sync'.
- drush_drupal_login in includes/drupal.inc
- Log the given user in to a bootstrapped Drupal site.
- drush_error_handler in includes/environment.inc
- Log PHP errors to the Drush log. This is in effect until Drupal's error
handler takes over.
- drush_get_projects in commands/pm/pm.drush.inc
- Obtain an array of installed projects off the extensions available.
- drush_help_section_formatter_options in 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_image_flush in commands/core/image.drush.inc
- drush_image_flush_all in commands/core/image.drush.inc
- drush_load_config_file in includes/context.inc
- drush_make_generate in commands/make/generate.make.inc
- Drush callback; generate makefile from the current build.
- drush_make_post_make in commands/make/make.drush.inc
- Implements drush_hook_post_COMMAND() for the make command.
- drush_mime_content_type in includes/drush.inc
- Determines the MIME content type of the specified file.
- drush_op in includes/drush.inc
- Calls a given function, passing through all arguments unchanged.
- drush_pm_disable in commands/pm/pm.drush.inc
- Command callback. Disable one or more extensions.
- drush_pm_download in commands/pm/download.pm.inc
- Command callback. Download Drupal core or any project.
- drush_pm_download_validate in commands/pm/download.pm.inc
- Implementation of drush_COMMAND_validate().
- drush_pm_enable in commands/pm/pm.drush.inc
- Command callback. Enable one or more extensions from downloaded projects.
Note that the modules and themes to be enabled were evaluated during the
pm-enable validate hook, above.
- drush_pm_enable_validate in commands/pm/pm.drush.inc
- Validate callback. Determine the modules and themes that the user would like enabled.
- drush_pm_extensions_in_project in commands/pm/pm.drush.inc
- Print out all extensions (modules/themes/profiles) found in specified project.
- drush_pm_include_version_control in commands/pm/pm.drush.inc
- A simple factory function that tests for version control systems, in a user
specified order, and return the one that appears to be appropriate for a
specific directory.
- drush_pm_info in commands/pm/info.pm.inc
- Command callback. Show detailed info for one or more extensions.
- drush_pm_releases in commands/pm/pm.drush.inc
- Command callback. Show available releases for given project(s).
- drush_pm_uninstall in commands/pm/pm.drush.inc
- Command callback. Uninstall one or more modules.
// TODO: Use drupal_execute on system_modules_uninstall_confirm_form so that input is validated.
- drush_pm_updatecode in commands/pm/updatecode.pm.inc
- Command callback. Displays update status info and allows to update installed
projects.
Pass specific projects as arguments, otherwise we update all that have
candidate releases.
- drush_pm_updatecode_postupdate in commands/pm/pm.drush.inc
- Command callback. Execute updatecode-postupdate.
- drush_pm_updatecode_rollback in commands/pm/updatecode.pm.inc
- drush_pm_update_lock in commands/pm/pm.drush.inc
- Update the locked status of all of the candidate projects
to be updated.
- drush_policy_updatedb_validate in examples/policy.drush.inc
- Implementation of drush_hook_COMMAND_validate().
- drush_save_config in includes/context.inc
- Save the settings in a specific context to the applicable configuration file
This is useful is you want certain settings to be available automatically the next time a command is executed.
- drush_search_index in commands/core/search.drush.inc
- drush_search_reindex in commands/core/search.drush.inc
- drush_set_error in includes/drush.inc
- Set an error code for the error handling system.
- drush_shell_alias_replace in includes/command.inc
- drush_show_help in commands/core/help.drush.inc
- Prints out help for a given command.
- drush_sql_dump_execute in commands/sql/sql.drush.inc
- Command callback. Outputs the entire Drupal database in SQL format using mysqldump.
- drush_sql_post_sql_sync in commands/sql/sync.sql.inc
- Apply all post-sync operations that were registered in any pre-sync hook.
Follow the pattern of this function to make your own post-sync hook.
If changing the database, be sure to also include a pre-sync hook to
notify the user of the change that will…
- drush_sql_sync in commands/sql/sync.sql.inc
- drush_start_browser in includes/exec.inc
- Starts a background browser/tab for the current site or a specified URL.
- drush_sync_enable_post_sql_sync in examples/sync_enable.drush.inc
- Implement hook post sql sync.
- drush_update_do_one in commands/core/drupal/update.inc
- Perform one update and store the results which will later be displayed on
the finished page.
- drush_update_do_one in commands/core/drupal/update_7.inc
- Perform one update and store the results which will later be displayed on
the finished page.
- drush_user_abort in includes/drush.inc
- Exit due to user declining a confirmation prompt.
- drush_user_add_role in commands/user/user.drush.inc
- Add a role to the specified user accounts.
- drush_user_remove_role in commands/user/user.drush.inc
- Remove a role from the specified user accounts.
- drush_valid_db_credentials in includes/environment.inc
- Tests the currently loaded database credentials to ensure a database connection can be made.
- drush_variable_delete in commands/core/variable.drush.inc
- Command callback.
Delete a variable.
- drush_variable_set in commands/core/variable.drush.inc
- Command callback.
Set a variable.
- drush_version_control_backup::post_update in commands/pm/version_control/backup.inc
- Implementation of post_update().
- drush_version_control_backup::rollback in commands/pm/version_control/backup.inc
- Implementation of rollback().
- drush_version_control_bzr::commit in commands/pm/version_control/bzr.inc
- Automatically commit changes to the repository
- drush_version_control_svn::commit in commands/pm/version_control/svn.inc
- Automatically commit changes to the repository
- make_apply_defaults in commands/make/make.utilities.inc
- Apply any defaults.
- make_clean_tmp in commands/make/make.utilities.inc
- Removes the temporary build directory. On failed builds, this is handled by
drush_register_file_for_deletion().
- make_download_bzr in commands/make/make.download.inc
- Checks out a Bazaar repository to the specified download location.
- make_download_file in commands/make/make.download.inc
- Downloads a file to the specified location.
- make_download_git in commands/make/make.download.inc
- Checks out a git repository to the specified download location.
- make_download_pm in commands/make/make.download.inc
- Download project using drush's pm-download command.
- make_download_svn in commands/make/make.download.inc
- Checks out an SVN repository to the specified download location.
- make_error in commands/make/make.utilities.inc
- Logs an error unless the --force-complete command line option is specified.
- make_prune_info_file in commands/make/make.utilities.inc
- Remove entries in the info file in accordance with the options passed in.
Entries are either explicitly 'allowed' (with the $include_only parameter) in
which case all *other* entries will be excluded.
- make_validate_info_file in commands/make/make.utilities.inc
- Validate the make file.
- package_handler_download_project in commands/pm/package_handler/wget.inc
- Download a project.
- package_handler_update_project in commands/pm/package_handler/git_drupalorg.inc
- Update a project (so far, only modules are supported).
- package_handler_validate in commands/pm/package_handler/git_drupalorg.inc
- Validate this package handler can run.
- pm_parse_project_version in commands/pm/pm.drush.inc
- Parse out the project name and version and return as a structured array.
- pm_update_packages in commands/pm/updatecode.pm.inc
- Update projects according to an array of releases and print the release notes
for each project, following interactive confirmation from the user.
- release_info_fetch in commands/pm/release_info/updatexml.inc
- Obtain the most appropiate release for the requested project.
- release_info_print_releasenotes in commands/pm/release_info/updatexml.inc
- Prints release notes for given projects.
- simpletest_drush_run_test in commands/core/test.drush.inc
- Run a single test and display any failure messages.
- system_nodeapi in commands/core/search.drush.inc
- Fake an implementation of hook_nodeapi() for Drupal 6.
- system_node_update_index in commands/core/search.drush.inc
- Fake an implementation of hook_node_update_index() for Drupal 7.
- system_watchdog in includes/drupal.inc
- Log Drupal watchdog() calls.
- updatexml_get_release_history_xml in commands/pm/release_info/updatexml.inc
- Download the release history xml for the specified request.
- updatexml_parse_release in commands/pm/release_info/updatexml.inc
- Pick most appropriate release from XML list or ask the user if no one fits.
- update_check_requirements in commands/core/drupal/update_6.inc
- Check update requirements and report any errors.
- update_fix_compatibility in commands/core/drupal/update_6.inc
- Disable anything in the {system} table that is not compatible with the
current version of Drupal core.
- update_main in commands/core/drupal/update_6.inc
- update_main in commands/core/drupal/update.inc
- update_main in commands/core/drupal/update_7.inc
- _drush_backend_integrate in includes/backend.inc
- Integrate log messages and error statuses into the current
process.
- _drush_backend_invoke in includes/backend.inc
- Create a new pipe with proc_open, and attempt to parse the output.
- _drush_backend_proc_open in includes/backend.inc
- Call an external command using proc_open.
- _drush_batch_worker in commands/core/drupal/batch_6.inc
- Process batch operations
- _drush_batch_worker in commands/core/drupal/batch.inc
- Process batch operations
- _drush_bootstrap_and_dispatch in ./drush.php
- _drush_bootstrap_do_drupal_site in includes/bootstrap.inc
- Called by _drush_bootstrap_drupal_site to do the main work
of the drush drupal site bootstrap.
- _drush_bootstrap_drupal_database in includes/bootstrap.inc
- Boostrap the Drupal database.
- _drush_bootstrap_drupal_root in includes/bootstrap.inc
- Bootstrap Drush with a valid Drupal Directory.
- _drush_bootstrap_drush in includes/bootstrap.inc
- Initial Drush bootstrap phase.
- _drush_build_rsync_options in commands/core/rsync.core.inc
- _drush_environment_check_php_ini in includes/environment.inc
- Evaluate the environment before command bootstrapping
begins. If the php environment is too restrictive, then
notify the user that a setting change is needed and abort.
- _drush_find_commandfiles in includes/command.inc
- _drush_invoke_hooks in includes/command.inc
- Invoke Drush API calls, including all hooks.
- _drush_load_command_engines in includes/command.inc
- Include, instantiate and validate command engines.
- _drush_log_drupal_messages in includes/drush.inc
- Turn drupal_set_message errors into drush_log errors
- _drush_log_update_sql in includes/drupal.inc
- Log the return value of Drupal hook_update_n functions.
- _drush_make_generate_makefile_body in commands/make/generate.make.inc
- _drush_pm_find_common_path in 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_search_index in commands/core/search.drush.inc
- _drush_sitealias_find_and_load_alias in includes/sitealias.inc
- Traverses the alias search path and finds the specified alias record.
- _drush_sitealias_find_and_load_all_aliases in includes/sitealias.inc
- Worker function called by _drush_sitealias_load_alias and
drush_sitealias_load_all. Traverses the alias search path
and finds the specified alias record.
- _drush_sitealias_load_alias in includes/sitealias.inc
- Check and see if an alias definition for $alias is available.
If it is, load it into the list of aliases cached in the
'site-aliases' context.
- _drush_sql_drop in commands/sql/sql.drush.inc
- _drush_usage_log in commands/core/usage.drush.inc
- _drush_usage_mongolab in commands/core/usage.drush.inc
- _pm_download_destination_lookup in commands/pm/download.pm.inc
- Determine a candidate destination directory for a particular site path and
return it if it exists, optionally attempting to create the directory.
- _update_do_one in commands/core/drupal/update_6.inc
- A simplified version of the batch_do_one function from update.php