2 namespace Drush\Commands;
6 class LegacyCommands extends DrushCommands
10 * Drupal 8 does not support disabling modules. See pm:uninstall command.
13 * @aliases dis,pm-disable
17 public function disable()
22 * The pm-info command was deprecated. Please see `drush pm:list` and `composer show`
25 * @aliases pmi,pm-info
29 public function info()
34 * The pm-projectinfo command was deprecated. Please see `drush pm:list` and `composer show`
36 * @command pm:projectinfo
37 * @allow-additional-options
38 * @aliases pm-projectinfo
42 public function projectInfo()
47 * The pm-refresh command was deprecated. It is no longer useful.
50 * @aliases rf,pm-refresh
54 public function refresh()
59 * The pm-updatestatus command was deprecated. Please see `composer show` and `composer outdated`. For security release notification, see `drush pm:security`.
61 * @command pm:updatestatus
62 * @aliases ups,pm-updatestatus
66 public function updatestatus()
71 * The pm-updatecode command was deprecated. Please see `composer outdated` and `composer update`. For security release notification, see `drush pm:security`.
73 * @command pm:updatecode
74 * @aliases upc,pm-update,pm-updatecode
78 public function updatecode()
83 * The pm-releasenotes command was deprecated. No replacement available.
85 * @command pm:releasenotes
86 * @aliases rln,pm-releasenotes
90 public function releaseNotes()
95 * The pm-releases command was deprecated. Please see `composer show <packagename>`
97 * @command pm:releases
98 * @aliases rl,pm-releases
102 public function releases()
107 * Make has been removed, in favor of Composer. Use the make-convert command in Drush 8 to quickly upgrade your build to Composer.
110 * @aliases make-convert,make-generate,make-lock,make-update
114 public function make()
119 * dl has been deprecated. Please build your site using Composer. Add new projects with composer require drupal/[project-name]. Use https://www.drupal.org/project/composer_generate to build a composer.json which represents the enabled modules on your site.
121 * @command pm:download
122 * @aliases dl,pm-download
126 public function download()
131 * field-create has been deprecated. Please try `generate field` command.
133 * @command field:create
134 * @aliases field-create
138 public function field()