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

Breadcrumb

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

function DrupalFinder::allPathsKnown

Helper function to quickly determine whether or not all paths are known.

Return value

bool True if all paths are known, false if one or more paths are unknown.

File

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

Class

DrupalFinder

Namespace

DrupalFinder

Code

protected function allPathsKnown() {
    return !empty($this->getDrupalRoot()) && !empty($this->getComposerRoot()) && !empty($this->getVendorDir());
}

API Navigation

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