diff --git a/core/modules/views/views.tokens.inc b/core/modules/views/views.tokens.inc index 5b8684c..8ac48cd 100644 --- a/core/modules/views/views.tokens.inc +++ b/core/modules/views/views.tokens.inc @@ -81,7 +81,7 @@ function views_tokens($type, $tokens, array $data = array(), array $options = ar $replacements = array(); - if (!empty($data[$type]) && $data[$type] instanceof ViewStorageInterface) { + if (!empty($data[$type]) && $data[$type] instanceof ViewExecutable) { $view = $data[$type]; foreach ($tokens as $name => $original) {