public function Migration::setStatus in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate/src/Entity/Migration.php \Drupal\migrate\Entity\Migration::setStatus()
Sets the status of the configuration entity.
Parameters
bool $status: The status of the configuration entity.
Return value
$this
Overrides ConfigEntityBase::setStatus
1 call to Migration::setStatus()
- Migration::interruptMigration in core/
modules/ migrate/ src/ Entity/ Migration.php - Signal that the migration should be interrupted with the specified result code.
File
- core/
modules/ migrate/ src/ Entity/ Migration.php, line 415 - Contains \Drupal\migrate\Entity\Migration.
Class
- Migration
- Defines the Migration entity.
Namespace
Drupal\migrate\EntityCode
public function setStatus($status) {
\Drupal::keyValue('migrate_status')
->set($this
->id(), $status);
}