Issue #2908952 by sahil432, martin107: drupal_get_complete_schema() and drupal_get_schema() are not completely removed

merge-requests/1654/head
Nathaniel Catchpole 2018-01-16 15:10:39 +00:00
parent 7d37e31f3c
commit c79d74abbb
2 changed files with 3 additions and 4 deletions

View File

@ -788,9 +788,8 @@ class ConfigImporter {
// services. // services.
$this->reInjectMe(); $this->reInjectMe();
// During a module install or uninstall the container is rebuilt and the // During a module install or uninstall the container is rebuilt and the
// module handler is called from drupal_get_complete_schema(). This causes // module handler is called. This causes the container's instance of the
// the container's instance of the module handler not to have loaded all // module handler not to have loaded all the enabled modules.
// the enabled modules.
$this->moduleHandler->loadAll(); $this->moduleHandler->loadAll();
} }
if ($type == 'theme') { if ($type == 'theme') {

View File

@ -450,7 +450,7 @@ class Schema extends DatabaseSchema {
* Name of the table. * Name of the table.
* *
* @return * @return
* An array representing the schema, from drupal_get_schema(). * An array representing the schema.
* *
* @throws \Exception * @throws \Exception
* If a column of the table could not be parsed. * If a column of the table could not be parsed.