Problem/Motivation

Currently VBO displays it's help in the global section after running `drush` to see the available commands.

$ drush
Drush Commandline Tool 10.4.3

Run `drush help [command]` to view command-specific help.  Run `drush topic` to read even more documentation.

 Available commands:
 _global:
   browse                                                                     Display a link to a given path or open link in a browser.
   drupal:directory (dd)                                                      Return the filesystem path for modules/themes and other key folders.
   generate (gen)                                                             Generate boilerplate code for modules/plugins/services etc.
   help                                                                       Display usage details for a command.
   jn:get                                                                     Execute a JSONAPI request.
   list                                                                       List available commands.
   mk:docs                                                                    Build a Markdown document for each Drush command thats available on a site.
   runserver (rs, serve)                                                      Runs PHP's built-in http server for development.
   version                                                                    Show Drush version.
   views-bulk-operations:execute (vbo-execute, vbo-exec)                      Execute an action on all results of the specified view.

Steps to reproduce

If VBO declared a category this wouldn't be happening.

Proposed resolution

Declare the category "Views" to be listed with the rest of the view commands.

Remaining tasks

Do work

User interface changes

Drush help would show up in the Views Category

API changes

None

Data model changes

None

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

frob created an issue. See original summary.

fjgarlin’s picture

Status: Active » Needs review
StatusFileSize
new1.01 KB

Patch provided for this.

andypost’s picture

It may need alias to old command to not break lots of scripts

fjgarlin’s picture

StatusFileSize
new1.42 KB

Great point @andypost. Added the alias to the old command in the patch now.

  • Graber committed fe2365f on 4.0.x
    Issue #3211494 by fjgarlin, frob: Fix Drush 10 integration; No issue by...
graber’s picture

Status: Needs review » Patch (to be ported)

Needs a patch or PR on 3.x if anyone is interested.

tr’s picture

This needs to be fixed:
use Drupal\Core\Entity\EntityTypeMAnagerInterface;
The class loader will fail to find it on some operating systems if you don't capitalize it correctly.

  • Graber committed a6b668b on 4.0.x authored by TR
    Issue #3211494 by fjgarlin, frob, andypost, Graber, TR: Fix use class...
graber’s picture

Thank you @TR, good spot!

graber’s picture

Status: Patch (to be ported) » Fixed

Setting to "fixed" as 8.x-3.x is no longer supported.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.