function AggregatorTitleTest::setUp

File

core/modules/aggregator/tests/src/Kernel/AggregatorTitleTest.php, line 40

Class

AggregatorTitleTest
Tests the aggregator_title formatter.

Namespace

Drupal\Tests\aggregator\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->installConfig([
    'field',
  ]);
  $this->installEntitySchema('aggregator_feed');
  $this->installEntitySchema('aggregator_item');
  $this->fieldName = 'title';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.