Commit 9ef3a52f authored by catch's avatar catch

Issue #1911492 by jibran, Manuel Garcia, derhasi, pcambra, dawehner,...

Issue #1911492 by jibran, Manuel Garcia, derhasi, pcambra, dawehner, damiankloip, tstoeckler: Fixed Views try to find Custom StylePlugin template in core/modules/views/templates.
parent d663924e
......@@ -136,7 +136,7 @@ function views_theme($existing, $type, $theme, $path) {
// templates folder. This will be in any case the root of the given module
// so we always need a module definition.
// @todo: watchdog or exception?
if (!isset($def['provider'])) {
if (!isset($def['provider']) || !Drupal::moduleHandler()->moduleExists($def['provider'])) {
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment