You are here

public function DummyFile::__construct in Realistic Dummy Content 8.2

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

Constructor.

Parameters

mixed $value: The value to return.

File

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

Class

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

Namespace

Drupal\realistic_dummy_content_api\includes

Code

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