public function AjaxController::jsondata in Paragraphs table 8
Return output JSON data value.
1 string reference to 'AjaxController::jsondata'
File
- src/
Controller/ AjaxController.php, line 91
Class
- AjaxController
- Returns responses for paragraphs item routes.
Namespace
Drupal\paragraphs_table\ControllerCode
public function jsondata($field_name, $host_type, $host_id) {
return $this
->json($field_name, $host_type, $host_id, 'data');
}