Skip to content
Permalink
Browse files

Add language to getData (#359)

  • Loading branch information...
harold20 authored and enzolutions committed Jul 3, 2019
1 parent bffc461 commit 6a196d67633d12cce4c62e4707c91c2c469af77f
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/Application.php
@@ -787,6 +787,9 @@ public function getData($filterNamespaces = null, $excludeNamespaces = [], $excl
];
}
//Add default Language
$language = $this->container->get('console.translator_manager')->getLanguage();
$data['default_language'] = $language;
// Exclude application if it is inside the $excludeNamespaces array.
if (!in_array('application', $excludeNamespaces)) {

0 comments on commit 6a196d6

Please sign in to comment.
You can’t perform that action at this time.