public function DeploymentStorageHandlerInterface::getOrCreateNextDeploymentForEnvironment in Build Hooks 8.2
Same name and namespace in other branches
- 3.x src/DeploymentStorageHandlerInterface.php \Drupal\build_hooks\DeploymentStorageHandlerInterface::getOrCreateNextDeploymentForEnvironment()
Gets the next deployment for an environment.
Parameters
\Drupal\build_hooks\Entity\FrontendEnvironmentInterface $environment: Environment.
Return value
\Drupal\build_hooks\Entity\DeploymentInterface Next deployment.
1 method overrides DeploymentStorageHandlerInterface::getOrCreateNextDeploymentForEnvironment()
- DeploymentStorageHandler::getOrCreateNextDeploymentForEnvironment in src/
DeploymentStorageHandler.php - Gets the next deployment for an environment.
File
- src/
DeploymentStorageHandlerInterface.php, line 23
Class
- DeploymentStorageHandlerInterface
- Defines an interface for deployment storage handler.
Namespace
Drupal\build_hooksCode
public function getOrCreateNextDeploymentForEnvironment(FrontendEnvironmentInterface $environment) : DeploymentInterface;