function StageEventsTest::providerValidationResults

Data provider for testValidationResults().

Return value

string[][] The test cases.

File

core/modules/package_manager/tests/src/Kernel/StageEventsTest.php, line 123

Class

StageEventsTest
Tests that the stage fires events during its lifecycle.

Namespace

Drupal\Tests\package_manager\Kernel

Code

public static function providerValidationResults() : array {
  return [
    'PreCreateEvent' => [
      PreCreateEvent::class,
    ],
    'PreRequireEvent' => [
      PreRequireEvent::class,
    ],
    'PreApplyEvent' => [
      PreApplyEvent::class,
    ],
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.