function TestMigrateExecutable::formatSize
Same name and namespace in other branches
- 8.9.x core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php \Drupal\Tests\migrate\Unit\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\UnitCode
protected function formatSize($size) {
return $size;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.