protected function DateRecurViewsOccurrenceFilterTest::createEntity in Recurring Dates Field 3.0.x
Same name and namespace in other branches
- 8.2 tests/src/Kernel/DateRecurViewsOccurrenceFilterTest.php \Drupal\Tests\date_recur\Kernel\DateRecurViewsOccurrenceFilterTest::createEntity()
- 3.x tests/src/Kernel/DateRecurViewsOccurrenceFilterTest.php \Drupal\Tests\date_recur\Kernel\DateRecurViewsOccurrenceFilterTest::createEntity()
- 3.1.x tests/src/Kernel/DateRecurViewsOccurrenceFilterTest.php \Drupal\Tests\date_recur\Kernel\DateRecurViewsOccurrenceFilterTest::createEntity()
Creates an unsaved test entity.
Return value
\Drupal\date_recur_entity_test\Entity\DrEntityTest A test entity.
6 calls to DateRecurViewsOccurrenceFilterTest::createEntity()
- DateRecurViewsOccurrenceFilterTest::testDateRecurFilterAbsoluteDay in tests/
src/ Kernel/ DateRecurViewsOccurrenceFilterTest.php - Tests date recur filter plugin.
- DateRecurViewsOccurrenceFilterTest::testDateRecurFilterAbsoluteMonth in tests/
src/ Kernel/ DateRecurViewsOccurrenceFilterTest.php - Tests date recur filter plugin.
- DateRecurViewsOccurrenceFilterTest::testDateRecurFilterAbsoluteSecond in tests/
src/ Kernel/ DateRecurViewsOccurrenceFilterTest.php - Tests date recur filter plugin.
- DateRecurViewsOccurrenceFilterTest::testDateRecurFilterAbsoluteYear in tests/
src/ Kernel/ DateRecurViewsOccurrenceFilterTest.php - Tests date recur filter plugin.
- DateRecurViewsOccurrenceFilterTest::testDateRecurFilterTimezoneNonSecond in tests/
src/ Kernel/ DateRecurViewsOccurrenceFilterTest.php - Tests timezone capability for non second granularity.
File
- tests/
src/ Kernel/ DateRecurViewsOccurrenceFilterTest.php, line 774
Class
- DateRecurViewsOccurrenceFilterTest
- Tests the results of 'date_recur_occurrences_filter' filter plugin.
Namespace
Drupal\Tests\date_recur\KernelCode
protected function createEntity() {
return DrEntityTest::create();
}