Skip to content

Commit

Permalink
[console] Add isValidDrupal method to DrupalFinder. (#320)
Browse files Browse the repository at this point in the history
* [console] Add isValidDrupal method to DrupalFinder.

* [console] Update return.
  • Loading branch information
jmolivas committed Feb 18, 2018
1 parent f9dbf4b commit e22ccaf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Utils/DrupalFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@ public function getConsoleLanguagePath()
{
return $this->consoleLanguagePath;
}

public function isValidDrupal() {
return ($this->getComposerRoot() && $this->getDrupalRoot());
}
}

0 comments on commit e22ccaf

Please sign in to comment.