You are here

protected function BlazyUnitTestTrait::setUpVariables in Blazy 8

Same name and namespace in other branches
  1. 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

... See full list

File

tests/src/Traits/BlazyUnitTestTrait.php, line 283

Class

BlazyUnitTestTrait
A Trait common for Blazy Unit tests.

Namespace

Drupal\Tests\blazy\Traits

Code

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;
}