public function BuildTriggerTest::providerFrontendEnvironment in Build Hooks 3.x
Provider for ::testFrontendEnvironment.
Return value
array[] Test cases.
File
- tests/
src/ Kernel/ BuildTriggerTest.php, line 75
Class
- BuildTriggerTest
- Defines a class for testing plugins can prevent builds.
Namespace
Drupal\Tests\build_hooks\KernelCode
public function providerFrontendEnvironment() {
return [
'Entity save' => [
TriggerInterface::DEPLOYMENT_STRATEGY_ENTITYSAVE,
],
'Cron' => [
TriggerInterface::DEPLOYMENT_STRATEGY_CRON,
],
'Manual' => [
TriggerInterface::DEPLOYMENT_STRATEGY_MANUAL,
],
];
}