5 * Twig Xdebug install and update hooks.
9 * Implements hook_requirements().
11 function twig_xdebug_requirements($phase) {
13 if ($phase == 'install') {
14 if (!class_exists('\Ajgl\Twig\Extension\BreakpointExtension')) {
15 $requirements['breakpoints_library'] = [
16 'description' => t('Twig Xdebug requires the ajgl/breakpoint-twig-extension library.'),
17 'severity' => REQUIREMENT_ERROR,