This repository has been archived by the owner on Feb 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Changelog
Travis Carden edited this page Nov 24, 2013
·
22 revisions
- Converted to Drupal 8.
- Moved shunt logic into a class.
- Replaced
drush shunt-get-enabled
anddrush shunt-get-disabled
withdrush shunt-list
. - Replaced
drush shunt-is-enabled
withdrush shunt-info
. - Changed all Drush commands except
shunt-list
to accept a list of one or more shunts (space-or-comma separated) or the keyword "all". - Replaced Drush shunt name prompts with command completion. (Try
drush she <TAB>
.) - Added Drush shunt name wildcard expansion. (Try
drush shunt-enable sh\*
.) - Prefixed all Drush command aliases with "sh" instead of just "s" for better namespace collision prevention.
- Renamed
hook_shunt()
tohook_shunt_info()
. - Replaced
hook_shunt_enable()
andhook_shunt_disable()
withhook_shunt_post_change()
. - Added a new
hook_shunt_post_changeset()
. - Updated Drush prompts and confirmation messages to reflect the pattern set by Drush pm commands. e.g.:
$ drush shunt-enable all
Shunt "shuntexample" is already enabled. [ok]
The following shunts will be enabled: shunt
Do you want to continue? (y/n): y
Shunt "shunt" has been enabled. [status]
- Added a working example page to the Shunt Example module that responds to the "shuntexample" shunt with a fail whale.