diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php index 1139f3d..86e5102 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php @@ -274,7 +274,7 @@ public function globalTokenReplace($string = '', array $options = array()) { * An array of available token replacement info or tokens, grouped by type. */ public function getAvailableGlobalTokens($prepared = FALSE, array $types = array()) { - $info = \Drupal::token()->info(); + $info = \Drupal::token()->getInfo(); // Site and view tokens should always be available. $types += array('site', 'view'); $available = array_intersect_key($info['tokens'], array_flip($types));