public function TestField::__construct in Media entity slideshow 8.2
Same name and namespace in other branches
- 8 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\UnitCode
public function __construct($value = NULL) {
$this->property = $value;
}