You are here

public function RealisticDummyContentUnitTestCaseDummyFile::__construct in Realistic Dummy Content 8.2

Same name and namespace in other branches
  1. 7.2 api/src/test/includes/RealisticDummyContentEnvironmentTest.php \Drupal\realistic_dummy_content_api\Test\RealisticDummyContentUnitTestCaseDummyFile::__construct()

Constructor.

Parameters

mixed $value: The value to return.

File

api/src/test/includes/RealisticDummyContentEnvironmentTest.php, line 23

Class

RealisticDummyContentUnitTestCaseDummyFile
Dummy file, used to test how fields manage files.

Namespace

Drupal\realistic_dummy_content_api\Test

Code

public function __construct($value) {
  $this->value = $value;
}