protected function BlazyUnitTestTrait::setUpVariables in Blazy 8
Same name and namespace in other branches
- 8.2 tests/src/Traits/BlazyUnitTestTrait.php \Drupal\Tests\blazy\Traits\BlazyUnitTestTrait::setUpVariables()
Set up Blazy variables.
6 calls to BlazyUnitTestTrait::setUpVariables()
- BlazyEntityReferenceFormatterTest::setUp in tests/
src/ Kernel/ BlazyEntityReferenceFormatterTest.php - BlazyJavaScriptTest::setUp in tests/
src/ FunctionalJavascript/ BlazyJavaScriptTest.php - BlazyKernelTestBase::setUp in tests/
src/ Kernel/ BlazyKernelTestBase.php - Set the default field storage backend for fields created during tests.
- BlazyMediaUnitTest::setUp in tests/
src/ Unit/ BlazyMediaUnitTest.php - BlazyUnitTest::setUp in tests/
src/ Unit/ BlazyUnitTest.php
File
- tests/
src/ Traits/ BlazyUnitTestTrait.php, line 283
Class
- BlazyUnitTestTrait
- A Trait common for Blazy Unit tests.
Namespace
Drupal\Tests\blazy\TraitsCode
protected function setUpVariables() {
$this->entityType = 'node';
$this->bundle = 'bundle_test';
$this->testFieldName = 'field_image_multiple';
$this->testFieldType = 'image';
$this->testPluginId = 'blazy';
$this->maxItems = 3;
$this->maxParagraphs = 20;
}