protected function DateRecurOccurrenceTableAttachedTest::createEntity in Recurring Dates Field 3.0.x
Same name and namespace in other branches
- 8.2 tests/src/Kernel/DateRecurOccurrenceTableAttachedTest.php \Drupal\Tests\date_recur\Kernel\DateRecurOccurrenceTableAttachedTest::createEntity()
- 3.x tests/src/Kernel/DateRecurOccurrenceTableAttachedTest.php \Drupal\Tests\date_recur\Kernel\DateRecurOccurrenceTableAttachedTest::createEntity()
- 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\KernelCode
protected function createEntity() {
return EntityTestRev::create();
}