You are here

public function BuildHooksConfigEntityTest::providerFrontendEnvironment in Build Hooks 3.x

Same name and namespace in other branches
  1. 8.2 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\Kernel

Code

public function providerFrontendEnvironment() {
  return [
    'Entity save' => [],
    'Cron' => [
      TriggerInterface::DEPLOYMENT_STRATEGY_CRON,
    ],
    'Manual' => [
      TriggerInterface::DEPLOYMENT_STRATEGY_MANUAL,
    ],
  ];
}