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

Breadcrumb

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

function DrupalFinder::allPathsDiscovered

Helper function to quickly determine whether or not all paths were discovered.

Return value

bool True if all paths have been discovered, false if one or more haven't been found.

1 call to DrupalFinder::allPathsDiscovered()
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 257

Class

DrupalFinder

Namespace

DrupalFinder

Code

protected function allPathsDiscovered() {
    return !empty($this->drupalRoot) && !empty($this->composerRoot) && !empty($this->vendorDir);
}

API Navigation

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