You are here

public function SchedulerEventsTest::dataSchedulerEvents in Scheduler 2.x

Provides test data for scheduler events test.

The original node events test is different (and no benefit in re-writing) so this test excludes the node entity type.

Return value

array Each array item has the values: [entity type id, bundle id].

File

tests/src/Functional/SchedulerEventsTest.php, line 157

Class

SchedulerEventsTest
Tests the six generic events that Scheduler dispatches.

Namespace

Drupal\Tests\scheduler\Functional

Code

public function dataSchedulerEvents() {
  $data = $this
    ->dataStandardEntityTypes();
  unset($data['#node']);
  return $data;
}