You are here

public function CircleCiFrontendEnvironment::getBuildHookDetails in Build Hooks 8.2

Same name and namespace in other branches
  1. 3.x modules/build_hooks_circleci/src/Plugin/FrontendEnvironment/CircleCiFrontendEnvironment.php \Drupal\build_hooks_circleci\Plugin\FrontendEnvironment\CircleCiFrontendEnvironment::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_circleci/src/Plugin/FrontendEnvironment/CircleCiFrontendEnvironment.php, line 103

Class

CircleCiFrontendEnvironment
Provides a 'CircleCI' frontend environment type.

Namespace

Drupal\build_hooks_circleci\Plugin\FrontendEnvironment

Code

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