You are here

public static function MultiversionManager::disableMigrationIsActive in Multiversion 8

Static method maintaining the disable migration status.

Parameters

boolean|array $status:

Return value

boolean|array

2 calls to MultiversionManager::disableMigrationIsActive()
MultiversionManager::allowToAlter in src/MultiversionManager.php
MultiversionManager::disableEntityTypes in src/MultiversionManager.php

File

src/MultiversionManager.php, line 135

Class

MultiversionManager

Namespace

Drupal\multiversion

Code

public static function disableMigrationIsActive($status = NULL) {
  static $cache = FALSE;
  if ($status !== NULL) {
    $cache = $status;
  }
  return $cache;
}