Functions

Contains filters are case sensitive
Namesort descending Location Description
drush_sitealias_load_all includes/sitealias.inc Load every alias file that can be found anywhere in the alias search path.
drush_sitealias_local_site_path includes/sitealias.inc Return the full path to the site directory of the given alias record.
drush_sitealias_overlay_options includes/sitealias.inc Given an alias record, overwrite its values with options from the command line and other drush contexts as specified by the provided prefix. For example, if the prefix is 'source-', then any option 'source-foo' will set the value…
drush_sitealias_print commands/core/sitealias.drush.inc Print out the specified site aliases using the format specified.
drush_sitealias_resolve_path_references includes/sitealias.inc If there are any path aliases (items beginning with "%") in the test string, then resolve them as path aliases and add them to the provided alias record.
drush_sitealias_resolve_sitelist includes/sitealias.inc Given an alias record that is a site list (contains a 'site-list' entry), resolve all of the members of the site list and return them is an array of alias records.
drush_sitealias_resolve_sitespecs includes/sitealias.inc Given an array of site specifications, resolve each one in turn and return an array of alias records. If you only want a single record, it is preferable to simply call drush_sitealias_get_record directly.
drush_sitealias_set_alias_context includes/sitealias.inc Given a site alias record, copy selected fields from it into the drush 'alias' context. The 'alias' context has lower precedence than the 'cli' context, so values set by an alias record can be overridden by…
drush_sitealias_simplify_names includes/sitealias.inc Given a list of alias records, shorten the name used if possible
drush_sitealias_site_dir_from_filename includes/sitealias.inc Pull the site directory from the path to settings.php
drush_sitealias_site_get includes/sitealias.inc Read the tmp file where the persistent site setting is stored.
drush_sitealias_site_reset commands/core/sitealias.drush.inc Deletes the file that stores the DRUPAL_SITE variable for persistent site switching.
drush_sitealias_site_selection_keys includes/sitealias.inc Option keys used for site selection.
drush_sitealias_site_set commands/core/sitealias.drush.inc Set the DRUPAL_SITE variable by writing it out to a temporary file that we then source for persistent site switching.
drush_sitealias_site_set_validate commands/core/sitealias.drush.inc Validation callback for drush site-set.
drush_sitealias_uri_to_site_dir includes/sitealias.inc Convert from a URI to a site directory.
drush_sitealias_valid_alias_format includes/sitealias.inc Returns TRUE if $alias is a valid format for an alias name.
drush_sitelist_align_lists includes/sitealias.inc If the source and target lists contain alias records to the same sets of sites, but in different orders, this routine will re-order the lists so that they are in alignment.
drush_site_path includes/environment.inc Like Drupal conf_path, but searching from beneath. Allows proper site uri detection in site sub-directories.
drush_sql_bootstrap_further commands/sql/sql.drush.inc Check whether further bootstrap is needed. If so, do it.
drush_sql_build_createdb_sql commands/sql/sql.drush.inc
drush_sql_build_dump_command commands/sql/sql.drush.inc Build a mysqldump/pg_dump/sqlite statement.
drush_sql_build_exec commands/sql/sql.drush.inc
drush_sql_cli commands/sql/sql.drush.inc
drush_sql_conf commands/sql/sql.drush.inc Command callback. Displays the Drupal site's database connection string.
drush_sql_connect commands/sql/sql.drush.inc
drush_sql_create commands/sql/sql.drush.inc Command callback. Create a database.
drush_sql_db_exists commands/sql/sql.drush.inc
drush_sql_drop commands/sql/sql.drush.inc
drush_sql_dump commands/sql/sql.drush.inc Build a mysqldump/pg_dump/sqlite statement.
drush_sql_dump_execute commands/sql/sql.drush.inc Command callback. Outputs the entire Drupal database in SQL format using mysqldump.
drush_sql_dump_file commands/sql/sql.drush.inc Determine where to store an sql dump file. This function is called by sql-sync.
drush_sql_empty_db commands/sql/sql.drush.inc
drush_sql_format_oracle commands/sql/sql.drush.inc
drush_sql_get_table_selection commands/sql/sql.drush.inc
drush_sql_post_sql_sync 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_query commands/sql/sql.drush.inc
drush_sql_register_post_sync_op commands/sql/sql.drush.inc Call from a pre-sql-sync hook to register an sql query to be executed in the post-sql-sync hook.
drush_sql_sanitize commands/sql/sql.drush.inc Command callback. Run's the sanitization operations on the current database.
drush_sql_show_tables_pgsql commands/sql/sql.drush.inc
drush_sql_su commands/sql/sql.drush.inc
drush_sql_sync commands/sql/sync.sql.inc
drush_sql_sync_init commands/sql/sync.sql.inc Sql sync init function. Bootstrap either the source or the destination site. At least one of the sites must be local for this to work; if both sites are remote, then it clearly will not be possible to bootstrap to either of them. If both are local,…
drush_ssh_site_ssh commands/core/ssh.drush.inc Command callback.
drush_start_browser includes/exec.inc Starts a background browser/tab for the current site or a specified URL.
drush_sync_enable_post_sql_sync examples/sync_enable.drush.inc Implement hook post sql sync.
drush_sync_via_http_pre_sql_sync examples/sync_via_http.drush.inc Implement hook pre sql sync.
drush_system_modules_form_submit commands/core/drupal/environment_6.inc Submit the system modules form.
drush_table_column_autowidth includes/output.inc Determine the best fit for column widths.
drush_tarball_extract includes/drush.inc Extract a tarball.

Pages