You are here

protected function FieldRdfaTestBase::setUp in Drupal 8

Set the default field storage backend for fields created during tests.

Overrides FieldKernelTestBase::setUp

8 calls to FieldRdfaTestBase::setUp()
DateTimeFieldRdfaTest::setUp in core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php
Set the default field storage backend for fields created during tests.
EmailFieldRdfaTest::setUp in core/modules/rdf/tests/src/Kernel/Field/EmailFieldRdfaTest.php
Set the default field storage backend for fields created during tests.
EntityReferenceRdfaTest::setUp in core/modules/rdf/tests/src/Kernel/Field/EntityReferenceRdfaTest.php
Set the default field storage backend for fields created during tests.
FieldRdfaDatatypeCallbackTest::setUp in core/modules/rdf/tests/src/Kernel/Field/FieldRdfaDatatypeCallbackTest.php
Set the default field storage backend for fields created during tests.
LinkFieldRdfaTest::setUp in core/modules/rdf/tests/src/Kernel/Field/LinkFieldRdfaTest.php
Set the default field storage backend for fields created during tests.

... See full list

8 methods override FieldRdfaTestBase::setUp()
DateTimeFieldRdfaTest::setUp in core/modules/rdf/tests/src/Kernel/Field/DateTimeFieldRdfaTest.php
Set the default field storage backend for fields created during tests.
EmailFieldRdfaTest::setUp in core/modules/rdf/tests/src/Kernel/Field/EmailFieldRdfaTest.php
Set the default field storage backend for fields created during tests.
EntityReferenceRdfaTest::setUp in core/modules/rdf/tests/src/Kernel/Field/EntityReferenceRdfaTest.php
Set the default field storage backend for fields created during tests.
FieldRdfaDatatypeCallbackTest::setUp in core/modules/rdf/tests/src/Kernel/Field/FieldRdfaDatatypeCallbackTest.php
Set the default field storage backend for fields created during tests.
LinkFieldRdfaTest::setUp in core/modules/rdf/tests/src/Kernel/Field/LinkFieldRdfaTest.php
Set the default field storage backend for fields created during tests.

... See full list

File

core/modules/rdf/tests/src/Kernel/Field/FieldRdfaTestBase.php, line 64

Class

FieldRdfaTestBase

Namespace

Drupal\Tests\rdf\Kernel\Field

Code

protected function setUp() {
  parent::setUp();
  \Drupal::service('router.builder')
    ->rebuild();
}