public function getDrupalApps($projectRoot)
    {
        return array_filter(
            LocalApplication::getApplications($projectRoot, $this->config),
            function (LocalApplication $app) {
                return Drupal::isDrupal($app->getRoot());
            }
        );
    }
public function getDrupalApps($projectRoot)
    {
        return array_filter(
            LocalApplication::getApplications($projectRoot, $this->config),
            function (LocalApplication $app) {
                return Drupal::isDrupal($app->getRoot());
            }
        );
    }
public function getDrupalApps ( $ projectRoot ) { return array_filter ( LocalApplication :: getApplications ( $ projectRoot , $ this -> config ) , function ( LocalApplication $ app ) { return Drupal :: isDrupal ( $ app -> getRoot ( ) ) ; } ) ; }
Find Drupal applications in a project.

@param string $projectRoot

@return LocalApplication[]
Find Drupal applications in a project .