Issue #2003058 by ashwinikumar, ebeyrent, DmitryDrozdik, benjy: Replace drupal_container() with Drupal::service() in the block module.