Issue #3510499 by ggh, sivaji_ganesh_jojodae, smustgrave: Update Batch operations API documentation to use \Drupal::request() instead of deprecated \Drupal::getRequest()