diff --git a/core/lib/Drupal/Core/Extension/ModuleHandler.php b/core/lib/Drupal/Core/Extension/ModuleHandler.php index 001e278..cbfd882 100644 --- a/core/lib/Drupal/Core/Extension/ModuleHandler.php +++ b/core/lib/Drupal/Core/Extension/ModuleHandler.php @@ -611,6 +611,7 @@ public function install(array $module_list, $enable_dependencies = TRUE) { // @todo install_begin_request() creates a container without a kernel. if ($kernel = \Drupal::service('kernel', ContainerInterface::NULL_ON_INVALID_REFERENCE)) { $kernel->updateModules($module_filenames, $module_filenames); + \Drupal::moduleHandler()->loadAll(); } // Refresh the schema to include it. diff --git a/core/modules/views/lib/Drupal/views/Views.php b/core/modules/views/lib/Drupal/views/Views.php index 430b789..ba45e17 100644 --- a/core/modules/views/lib/Drupal/views/Views.php +++ b/core/modules/views/lib/Drupal/views/Views.php @@ -117,7 +117,7 @@ public static function fetchPluginNames($type, $key = NULL, array $base = array( } if (empty($plugin['no_ui']) && (empty($base) || empty($plugin['base']) || array_intersect($base, $plugin['base']))) { - $plugins[$id] = isset($plugin['title']) ? $plugin['title'] : ''; + $plugins[$id] = $plugin['title']; } }