diff --git a/bamboo_twig_extensions/bamboo_twig_extensions.install b/bamboo_twig_extensions/bamboo_twig_extensions.install index 519ec2d..ae57307 100644 --- a/bamboo_twig_extensions/bamboo_twig_extensions.install +++ b/bamboo_twig_extensions/bamboo_twig_extensions.install @@ -11,7 +11,7 @@ function bamboo_twig_extensions_requirements($phase) { $requirements = []; if ($phase == 'install') { - if (!class_exists('Twig_Extensions_Extension_Array') || !class_exists('Twig_Extensions_Extension_Date') || !class_exists('Twig_Extensions_Extension_Text') || function_exists('twig_truncate_filter') || function_exists('twig_shuffle_filter')) { + if (!class_exists('Twig_Extensions_Extension_Array') || !class_exists('Twig_Extensions_Extension_Date') || !class_exists('Twig_Extensions_Extension_Text') || !function_exists('twig_truncate_filter') || !function_exists('twig_shuffle_filter')) { $requirements['twig_extensions_library'] = [ 'description' => t('Bamboo Twig Extensions requires the external Twig Extensions library. The recommended way of solving this dependency is using Composer running the following from the command line:
composer require twig/extensions.', [ ':twig-url' => 'http://twig-extensions.readthedocs.io/en/latest/index.html',