You are here

function _dmu_validate_command in Drupal 7 to 8/9 Module Upgrader 8

Validates any of the DMU commands.

Parameters

string $module: Module name.

3 calls to _dmu_validate_command()
drush_drupalmoduleupgrader_dmu_analyze_validate in ./drupalmoduleupgrader.drush.inc
DMU analyze validation.
drush_drupalmoduleupgrader_dmu_index_validate in ./drupalmoduleupgrader.drush.inc
DMU index validation.
drush_drupalmoduleupgrader_dmu_upgrade_validate in ./drupalmoduleupgrader.drush.inc
DMU Upgrade validation.

File

./drupalmoduleupgrader.drush.inc, line 212
Declarations for Drush.

Code

function _dmu_validate_command($module) {
  _dmu_ensure_info_present($module);
  _dmu_ensure_autoload();
  _dmu_ensure_directory($module);
}