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