From #1881606-12: Use a derivative to integrate all entities as row plugins
+++ b/core/modules/views/views.module
@@ -828,11 +828,15 @@ function views_hook_info() {
+ // During installation the moduleHandler might call hook_hook_info without
+ // having the classloader setup properly.
+ if (class_exists('Drupal\\views\\ViewExecutable')) {
+ // Register a views_plugins alter hook for all plugin types.
+ foreach (ViewExecutable::getPluginTypes() as $type) {
Without that if(class_exists(...
the installer failed with:
PHP Fatal error: Class 'Drupal\views\ViewExecutable' not found