Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MigrateExecutable.php

function MigrateExecutable::checkStatus

Checks for exceptional conditions, and display feedback.

2 calls to MigrateExecutable::checkStatus()
MigrateExecutable::import in core/modules/migrate/src/MigrateExecutable.php
Performs an import operation - migrate items from source to destination.
MigrateExecutable::rollback in core/modules/migrate/src/MigrateExecutable.php
Performs a rollback operation - remove previously-imported items.

File

core/modules/migrate/src/MigrateExecutable.php, line 521

Class

MigrateExecutable
Defines a migrate executable class.

Namespace

Drupal\migrate

Code

protected function checkStatus() {
    if ($this->memoryExceeded()) {
        return MigrationInterface::RESULT_INCOMPLETE;
    }
    return MigrationInterface::RESULT_COMPLETED;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal