You are here

public function ResponseEvent::setPlugin in Build Hooks 3.x

Same name and namespace in other branches
  1. 8.2 src/Event/ResponseEvent.php \Drupal\build_hooks\Event\ResponseEvent::setPlugin()

Set the plugin.

Parameters

\Drupal\build_hooks\Plugin\FrontendEnvironmentInterface $plugin: The build hook plugin.

File

src/Event/ResponseEvent.php, line 59

Class

ResponseEvent
Class ResponseEvent. Event fired when a build event gets the response.

Namespace

Drupal\build_hooks\Event

Code

public function setPlugin(FrontendEnvironmentInterface $plugin) {
  $this->plugin = $plugin;
}