You are here

public function AjaxLinksApi::demoContent in Ajaxify Drupal with JQuery Ajax 8

Ajax links API Demo Content.

1 string reference to 'AjaxLinksApi::demoContent'
ajax_links_api.routing.yml in ./ajax_links_api.routing.yml
ajax_links_api.routing.yml

File

src/Controller/AjaxLinksApi.php, line 85

Class

AjaxLinksApi
Ajaxify Drupal Link.

Namespace

Drupal\ajax_links_api\Controller

Code

public function demoContent() {
  return array(
    '#markup' => '<div>Ajax loaded content!</div>',
  );
}