You are here

public function TestField::__construct in Media entity slideshow 8

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/ConstraintsTest.php \Drupal\Tests\media_entity_slideshow\Unit\TestField::__construct()

TestField constructor.

Parameters

string|null $value: (optional) The property value used for this test.

File

tests/src/Unit/ConstraintsTest.php, line 109

Class

TestField
Mock class for fields to test the ItemsCount constraint.

Namespace

Drupal\Tests\media_entity_slideshow\Unit

Code

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