You are here

public function DrupalmoduleupgraderCommands::dmuList in Drupal 7 to 8/9 Module Upgrader 8

Lists available plugins.

@command dmu:list @option only Comma seperated list of plugins that needs to filter. @option skip Comma seperated list of plugins that needs to skip. @aliases dmu-list @usage dmu:list indexer Lists all indexer plugins.

Parameters

$plugin_type: The plugin type to query. Example:- indexer, analyzer, converter, cleaner.

array $options: Options supported by the command.

Return value

array DMU plugin ids of a given type.

File

src/Commands/DrupalmoduleupgraderCommands.php, line 73

Class

DrupalmoduleupgraderCommands

Namespace

Drupal\drupalmoduleupgrader\Commands

Code

public function dmuList($plugin_type, array $options = [
  'only' => NULL,
  'skip' => NULL,
]) {
  return $this
    ->dmuPluginList($plugin_type, $options);
}