You are here

public function InstapageCmsPluginDrupal8Connector::getAjaxURL in Instapage plugin 8.3

Same name and namespace in other branches
  1. 7.3 core/connectors/InstapageCmsPluginDrupal8Connector.php \InstapageCmsPluginDrupal8Connector::getAjaxURL()

Gets the AJAX URL.

Return value

string AJAX URL.

File

core/connectors/InstapageCmsPluginDrupal8Connector.php, line 401

Class

InstapageCmsPluginDrupal8Connector
Class that utilizes native Drupal 8 functions to perform actions like remote requests and DB operations.

Code

public function getAjaxURL() {
  return $this
    ->getSiteURL() . '/index.php?action=instapage_ajax_call';
}