Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DrupalFinder.php

function DrupalFinder::getComposerFileName

Return value

string

1 call to DrupalFinder::getComposerFileName()
DrupalFinder::findAndValidateRoots in vendor/webflo/drupal-finder/src/DrupalFinder.php
Determine if a valid Drupal root exists.

File

vendor/webflo/drupal-finder/src/DrupalFinder.php, line 246

Class

DrupalFinder

Namespace

DrupalFinder

Code

protected function getComposerFileName() {
    return trim(getenv('COMPOSER')) ?: 'composer.json';
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal