public function ajaxCallbackGenerateLiveScorecard($node) {
    $node = $this->entityTypeManager->getStorage('node')->load($node);
    $result = $this->campaignScorecardService->generateLiveScorecard($node);
    return new Response($this->renderer->render($result));
  }
public function ajaxCallbackGenerateLiveScorecard($node) {
    $node = $this->entityTypeManager->getStorage('node')->load($node);
    $result = $this->campaignScorecardService->generateLiveScorecard($node);
    return new Response($this->renderer->render($result));
  }
public function ajaxCallbackGenerateLiveScorecard ( $ node ) { $ node = $ this -> entityTypeManager -> getStorage ( 'node' ) -> load ( $ node ) ; $ result = $ this -> campaignScorecardService -> generateLiveScorecard ( $ node ) ; return new Response ( $ this -> renderer -> render ( $ result ) ) ; }
AJAX callback for the different campaigns.
AJAX callback for the different campaigns .