Skip to content
Snippets Groups Projects
Verified Commit cbaf8e4d authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3510499 by ggh, sivaji_ganesh_jojodae, smustgrave: Update Batch...

Issue #3510499 by ggh, sivaji_ganesh_jojodae, smustgrave: Update Batch operations API documentation to use \Drupal::request() instead of deprecated \Drupal::getRequest()
parent 51599c2d
No related branches found
No related tags found
2 merge requests!2964Issue #2865710 : Dependencies from only one instance of a widget are used in display modes,!579Issue #2230909: Simple decimals fail to pass validation
Pipeline #440584 passed with warnings
Pipeline: drupal

#440587

    ......@@ -676,7 +676,7 @@ function template_preprocess_form_element_label(&$variables): void {
    * foreach ($results as $result) {
    * $items[] = t('Loaded node %title.', ['%title' => $result]);
    * }
    * $session = \Drupal::getRequest()->getSession();
    * $session = \Drupal::request()->getSession();
    * $session->set('my_batch_results', $items);
    * }
    * @endcode
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment