public function SchedulerViewsAccessTest::dataViewScheduledContentUser in Scheduler 2.x
Provides test data for user view test.
There is no user view for scheduled Commerce Products so this entity type is removed.
Return value
array Each array item has the values: [entity type id, bundle id].
File
- tests/
src/ Functional/ SchedulerViewsAccessTest.php, line 150
Class
- SchedulerViewsAccessTest
- Tests access to the scheduled content overview page and user tab.
Namespace
Drupal\Tests\scheduler\FunctionalCode
public function dataViewScheduledContentUser() {
$data = $this
->dataStandardEntityTypes();
unset($data['#commerce_product']);
return $data;
}