You are here

public function InstapageCmsPluginLPAjaxLoaderController::getView in Instapage plugin 8.3

Same name and namespace in other branches
  1. 7.3 core/modules/lpAjaxLoader/InstapageCmsPluginLPAjaxLoaderController.php \InstapageCmsPluginLPAjaxLoaderController::getView()

Get view containing Ajax loader

Return value

false|string

1 call to InstapageCmsPluginLPAjaxLoaderController::getView()
InstapageCmsPluginLPAjaxLoaderController::injectScript in core/modules/lpAjaxLoader/InstapageCmsPluginLPAjaxLoaderController.php
Inject loading script. This script is responsible for base64 encoding query to it is not altered/stripped by custom caching layers (as Pantheon for example does)

File

core/modules/lpAjaxLoader/InstapageCmsPluginLPAjaxLoaderController.php, line 52

Class

InstapageCmsPluginLPAjaxLoaderController
Class InstapageCmsPluginLPAjaxLoaderController

Code

public function getView() {
  ob_start();
  include __DIR__ . '/view.php';
  return ob_get_clean();
}