In Drupal8, CMS intergration don't show table mapping
Overview
In Drupal8, CMS intergration don't show table mapping, because $database global variable is no more defined and can be retreived using Drupal\Core\Database\Database::getConnectionInfo()
Reproduction steps
- Goto https:xxxx/en/civicrm/admin/setting/uf?reset=1 ==> table mapping is not displayed
Environment information
- Browser: Firefox 59.0.1/Chrome 78.0.3904/Safari 13
- CiviCRM: Master/5.20.0/5.19.1/5.18.2/...
- PHP: 7.3
- CMS: Drupal 8
- Database: MariaDB 10.4
- Web Server: Apache 2.4