// argument validation is not triggered.
$args =
array_map(function D
$arg) { return ($arg == '' ? NULL :
$arg);
},
$args);
$path =
$request->
get('view_path'
);
$dom_id =
$request->
get('view_dom_id'
);
$dom_id =
isset($dom_id) ?
preg_replace('/[^a-zA-Z0-9_-]+/', '-',
$dom_id) : NULL;
$pager_element =
$request->
get('pager_element'
);
$pager_element =
isset($pager_element) ?
intval($pager_element) : NULL;
$response =
new ViewAjaxResponse();
// Remove all of this stuff from the query of the request so it doesn't
// end up in pagers and tablesort URLs.
// @todo Remove this parsing once these are removed from the request in
// https://www.drupal.org/node/2504709.
foreach ([ 'view_name',
'view_display_id',
'view_args',
'view_path',
'view_dom_id',