protected function TestMigrateExecutable::formatSize in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php \Drupal\Tests\migrate\Unit\TestMigrateExecutable::formatSize()
- 9 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;
}