public function BuildHooksConfigEntityTest::providerFrontendEnvironment in Build Hooks 8.2
Same name and namespace in other branches
- 3.x tests/src/Kernel/BuildHooksConfigEntityTest.php \Drupal\Tests\build_hooks\Kernel\BuildHooksConfigEntityTest::providerFrontendEnvironment()
Provider for ::testFrontendEnvironment.
Return value
array[] Test cases.
File
- tests/
src/ Kernel/ BuildHooksConfigEntityTest.php, line 31
Class
- BuildHooksConfigEntityTest
- Tests behaviour of the config-entity + plugin system.
Namespace
Drupal\Tests\build_hooks\KernelCode
public function providerFrontendEnvironment() {
return [
'Entity save' => [],
'Cron' => [
TriggerInterface::DEPLOYMENT_STRATEGY_CRON,
],
'Manual' => [
TriggerInterface::DEPLOYMENT_STRATEGY_MANUAL,
],
];
}