function Migration::getStatusLabel
Retrieve a label for the current status.
Return value
string User-friendly string corresponding to a STATUS_ constant.
Overrides MigrationInterface::getStatusLabel
File
- 
              core/modules/ migrate/ src/ Plugin/ Migration.php, line 563 
Class
- Migration
- Defines the Migration plugin.
Namespace
Drupal\migrate\PluginCode
public function getStatusLabel() {
  $status = $this->getStatus();
  if (isset($this->statusLabels[$status])) {
    return $this->statusLabels[$status];
  }
  else {
    return '';
  }
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
