You are here

protected function DateRecurOccurrenceTableAttachedTest::createEntity in Recurring Dates Field 8.2

Same name and namespace in other branches
  1. 3.x tests/src/Kernel/DateRecurOccurrenceTableAttachedTest.php \Drupal\Tests\date_recur\Kernel\DateRecurOccurrenceTableAttachedTest::createEntity()
  2. 3.0.x tests/src/Kernel/DateRecurOccurrenceTableAttachedTest.php \Drupal\Tests\date_recur\Kernel\DateRecurOccurrenceTableAttachedTest::createEntity()
  3. 3.1.x tests/src/Kernel/DateRecurOccurrenceTableAttachedTest.php \Drupal\Tests\date_recur\Kernel\DateRecurOccurrenceTableAttachedTest::createEntity()

Return value

\Drupal\entity_test\Entity\EntityTestRev A test entity.

Overrides DateRecurOccurrenceTableTest::createEntity

File

tests/src/Kernel/DateRecurOccurrenceTableAttachedTest.php, line 90

Class

DateRecurOccurrenceTableAttachedTest
Tests occurrence tables values.

Namespace

Drupal\Tests\date_recur\Kernel

Code

protected function createEntity() {
  return EntityTestRev::create();
}