You are here

public static function TestViewsBulkOperationsBatch::t in Views Bulk Operations (VBO) 8

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/TestViewsBulkOperationsBatch.php \Drupal\Tests\views_bulk_operations\Unit\TestViewsBulkOperationsBatch::t()

Override t method.

Overrides ViewsBulkOperationsBatch::t

File

tests/src/Unit/TestViewsBulkOperationsBatch.php, line 15

Class

TestViewsBulkOperationsBatch
Override some class methods for proper testing.

Namespace

Drupal\Tests\views_bulk_operations\Unit

Code

public static function t($string, array $args = [], array $options = []) {
  return strtr($string, $args);
}