interface TriggerInterface in Build Hooks 8.2
Same name and namespace in other branches
- 8 src/TriggerInterface.php \Drupal\build_hooks\TriggerInterface
- 3.x src/TriggerInterface.php \Drupal\build_hooks\TriggerInterface
Interface TriggerInterface.
Hierarchy
- interface \Drupal\build_hooks\TriggerInterface
Expanded class hierarchy of TriggerInterface
All classes that implement TriggerInterface
7 files declare their use of TriggerInterface
- BuildHooksConfigEntityTest.php in tests/
src/ Kernel/ BuildHooksConfigEntityTest.php - BuildHooksKernelTestBase.php in tests/
src/ Kernel/ BuildHooksKernelTestBase.php - CircleBuildHookTest.php in modules/
build_hooks_circleci/ tests/ src/ Kernel/ CircleBuildHookTest.php - DeploymentForm.php in src/
Form/ DeploymentForm.php - FrontendEnvironmentForm.php in src/
Form/ FrontendEnvironmentForm.php
File
- src/
TriggerInterface.php, line 10
Namespace
Drupal\build_hooksView source
interface TriggerInterface {
const DEPLOYMENT_STRATEGY_CRON = 'cron';
const DEPLOYMENT_STRATEGY_ENTITYSAVE = 'entitysave';
const BUILD_HOOKS_TOOLBAR_CACHE_TAG = 'build_hooks_toolbar';
const DEPLOYMENT_STRATEGY_MANUAL = 'manual';
/**
* Deploy frontend environments.
*
* @return mixed
* Mixed.
*/
public function deployFrontendCronEnvironments();
/**
* Triggers a build hook for an environment.
*
* @param \Drupal\build_hooks\Entity\FrontendEnvironmentInterface $frontend_environment
* The Environment to trigger the deployment for.
*
* @return mixed
* Mixed.
*/
public function triggerBuildHookForEnvironment(FrontendEnvironmentInterface $frontend_environment);
/**
* Whether to show the menu.
*/
public function showMenu();
/**
* Utility function to retrieve the cache tag to apply to the toolbar.
*
* @return string
* The toolbar cache tag.
*/
public function getToolbarCacheTag();
/**
* Invalidates the toolbar cache tag.
*/
public function invalidateToolbarCacheTag();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TriggerInterface:: |
constant | |||
TriggerInterface:: |
public | function | Deploy frontend environments. | 1 |
TriggerInterface:: |
constant | |||
TriggerInterface:: |
constant | |||
TriggerInterface:: |
constant | |||
TriggerInterface:: |
public | function | Utility function to retrieve the cache tag to apply to the toolbar. | 1 |
TriggerInterface:: |
public | function | Invalidates the toolbar cache tag. | 1 |
TriggerInterface:: |
public | function | Whether to show the menu. | 1 |
TriggerInterface:: |
public | function | Triggers a build hook for an environment. | 1 |