You are here

public function SchedulerJavascriptDefaultTimeTest::dataTimeWhenSchedulingIsRequired in Scheduler 8

Same name and namespace in other branches
  1. 2.x tests/src/FunctionalJavascript/SchedulerJavascriptDefaultTimeTest.php \Drupal\Tests\scheduler\FunctionalJavascript\SchedulerJavascriptDefaultTimeTest::dataTimeWhenSchedulingIsRequired()

Provides data for testTimeWhenSchedulingIsRequired().

Return value

array The test data.

File

tests/src/FunctionalJavascript/SchedulerJavascriptDefaultTimeTest.php, line 110

Class

SchedulerJavascriptDefaultTimeTest
Tests the JavaScript functionality for default dates.

Namespace

Drupal\Tests\scheduler\FunctionalJavascript

Code

public function dataTimeWhenSchedulingIsRequired() {
  return [
    [
      'publish',
    ],
    [
      'unpublish',
    ],
  ];
}