X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole%2Fsrc%2FCommand%2FBreakpoints%2FDebugCommand.php;h=bbdbe86bd2490a005168c7aba3ae12f89e4c8404;hp=fd23dd52d91a623c42add87df94dcbfd3f79799a;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;ds=sidebyside diff --git a/vendor/drupal/console/src/Command/Breakpoints/DebugCommand.php b/vendor/drupal/console/src/Command/Breakpoints/DebugCommand.php index fd23dd52d..bbdbe86bd 100644 --- a/vendor/drupal/console/src/Command/Breakpoints/DebugCommand.php +++ b/vendor/drupal/console/src/Command/Breakpoints/DebugCommand.php @@ -106,12 +106,7 @@ class DebugCommand extends Command array_values($this->breakpointManager->getGroupProviders($group)) ); - if ($typeExtension == 'theme') { - $projectPath = drupal_get_path('theme', $group); - } - if ($typeExtension == 'module') { - $projectPath = drupal_get_path('module', $group); - } + $projectPath = drupal_get_path($typeExtension, $group); $extensionFile = sprintf( '%s/%s/%s.breakpoints.yml',