protected function DateRecurOccurrenceTableTest::createEntity in Recurring Dates Field 8.2
Same name and namespace in other branches
- 3.x tests/src/Kernel/DateRecurOccurrenceTableTest.php \Drupal\Tests\date_recur\Kernel\DateRecurOccurrenceTableTest::createEntity()
- 3.0.x tests/src/Kernel/DateRecurOccurrenceTableTest.php \Drupal\Tests\date_recur\Kernel\DateRecurOccurrenceTableTest::createEntity()
- 3.1.x tests/src/Kernel/DateRecurOccurrenceTableTest.php \Drupal\Tests\date_recur\Kernel\DateRecurOccurrenceTableTest::createEntity()
Creates an unsaved test entity.
Return value
\Drupal\date_recur_entity_test\Entity\DrEntityTestRev A test entity.
2 calls to DateRecurOccurrenceTableTest::createEntity()
- DateRecurOccurrenceTableTest::testOccurrenceTableValues in tests/
src/ Kernel/ DateRecurOccurrenceTableTest.php - Tests values of occurrence table.
- DateRecurOccurrenceTableTest::testTableRows in tests/
src/ Kernel/ DateRecurOccurrenceTableTest.php - Ensure occurrence table rows are created.
1 method overrides DateRecurOccurrenceTableTest::createEntity()
File
- tests/
src/ Kernel/ DateRecurOccurrenceTableTest.php, line 252
Class
- DateRecurOccurrenceTableTest
- Tests occurrence tables values.
Namespace
Drupal\Tests\date_recur\KernelCode
protected function createEntity() {
return DrEntityTestRev::create();
}