You are here

public function AjaxController::jsondata in Paragraphs table 8

Return output JSON data value.

1 string reference to 'AjaxController::jsondata'
paragraphs_table.routing.yml in ./paragraphs_table.routing.yml
paragraphs_table.routing.yml

File

src/Controller/AjaxController.php, line 91

Class

AjaxController
Returns responses for paragraphs item routes.

Namespace

Drupal\paragraphs_table\Controller

Code

public function jsondata($field_name, $host_type, $host_id) {
  return $this
    ->json($field_name, $host_type, $host_id, 'data');
}