function TestMigrateExecutable::setMemoryThreshold

Same name in other branches
  1. 8.9.x core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php \Drupal\Tests\migrate\Unit\TestMigrateExecutable::setMemoryThreshold()
  2. 10 core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php \Drupal\Tests\migrate\Unit\TestMigrateExecutable::setMemoryThreshold()
  3. 11.x core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php \Drupal\Tests\migrate\Unit\TestMigrateExecutable::setMemoryThreshold()

Sets the memory threshold.

Parameters

float $threshold: The new threshold.

File

core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php, line 122

Class

TestMigrateExecutable
Tests MigrateExecutable.

Namespace

Drupal\Tests\migrate\Unit

Code

public function setMemoryThreshold($threshold) {
    $this->memoryThreshold = $threshold;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.