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 Jan 30, 2015
·
22 revisions
- Converted to Drupal 8.
- Converted persistent variables to state system.
- Converted shunts to configuration entities CRUD-able via the web UI.
- Replaced
drush shunt-get-enabled
anddrush shunt-get-disabled
withdrush shunt-list
(filterable by--status=<enabled|disabled>
). - 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 option--all
. - Replaced Drush shunt name prompts with command completion. (Try
drush shunt-enable <TAB>
.) - Added Drush shunt name wildcard expansion. (Try
drush shunt-enable sh\*
.) - Added support for awesome new Drush command output formats.
- Prefixed all Drush command aliases with "sh" instead of just "s" for better namespace collision prevention.
- Replaced
hook_shunt_enable()
andhook_shunt_disable()
withhook_shunt_status_change()
. - 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.
- Added comprehensive Unish tests and some Simpletest covererage.
- Replaced
shunt_is_enabled()
withentity_load('shunt')->isShuntEnabled();
.