function TestMigrateExecutable::formatSize

Generates a string representation for the given byte count.

Parameters

int $size: A size in bytes.

Return value

string A translated string representation of the size.

Overrides MigrateExecutable::formatSize

File

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

Class

TestMigrateExecutable
Tests MigrateExecutable.

Namespace

Drupal\Tests\migrate\Unit

Code

protected function formatSize($size) {
  return $size;
}

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