You are here

public function MigrateManager::getValidationMessages in Workbench Moderation to Content Moderation 8

Get messages for whether or not the migration is valid and ready.

Return value

string[] An array of messages to display to the user about, keyed on a unique identifier.

1 call to MigrateManager::getValidationMessages()
MigrateManager::isValid in src/MigrateManager.php
Determine if the migration is valid.

File

src/MigrateManager.php, line 102

Class

MigrateManager
Manages migrating from WBM to CM.

Namespace

Drupal\wbm2cm

Code

public function getValidationMessages() {
  $messages = [];

  // @todo validate WBM does not have multiple transitions, see WorkflowTypeBase
  // @todo validate that there is a 'draft' and 'published' state, which are required
  // @todo check if migration was run and failed, i.e. we need to trigger a "re-run" from a failed state
  return $messages;
}