API reference

Topics

Contains filters are case sensitve
Namesort descending Description
Command dispatching functions. These functions handle command dispatching, and can be used to programatically invoke drush commands in different ways.
Command processing functions. These functions manage command processing by the main function in drush.php.
Database convenience functions.
Extensions management. Functions to manage extensions.
Filesystem convenience functions.
Functions to execute commands.
Get input from the user. Ask the user a basic yes/no question.
Logging information to be provided as output. These functions are primarily for diagnostic purposes, but also provide an overview of tasks that were taken by drush.
Managing errors that occur in the Drush framework. Functions that manage the current error status of the Drush framework.
Process output text. Prints a message with optional indentation. In general, drush_log($message, 'ok') is often a better choice than this function. That gets your confirmation message (for example) into the logs for this drush request. Consider that drush…

Files

Constants

Functions

Classes and Interfaces

API search