You are here

public function BitbucketFrontendEnvironment::getBuildHookDetails in Build Hooks 3.x

Same name and namespace in other branches
  1. 8.2 modules/build_hooks_bitbucket/src/Plugin/FrontendEnvironment/BitbucketFrontendEnvironment.php \Drupal\build_hooks_bitbucket\Plugin\FrontendEnvironment\BitbucketFrontendEnvironment::getBuildHookDetails()

Get the info to trigger the hook based on the configuration of the plugin.

Return value

\Drupal\build_hooks\BuildHookDetails An object containing the details to trigger the hook.

Overrides FrontendEnvironmentInterface::getBuildHookDetails

File

modules/build_hooks_bitbucket/src/Plugin/FrontendEnvironment/BitbucketFrontendEnvironment.php, line 71

Class

BitbucketFrontendEnvironment
Provides a 'Bitbucket pipelines' frontend environment type.

Namespace

Drupal\build_hooks_bitbucket\Plugin\FrontendEnvironment

Code

public function getBuildHookDetails() {
  return $this->bitbucketManager
    ->getBuildHookDetailsForPluginConfiguration($this
    ->getConfiguration());
}