function BaseBoot::valid_root

8.0.x BaseBoot.php BaseBoot::valid_root($path)
7.x BaseBoot.php BaseBoot::valid_root($path)
master BaseBoot.php BaseBoot::valid_root($path)

This function determines if the specified path points to the root directory of a CMS that can be bootstrapped by the specific subclass that implements it.

These functions should be written such that one and only one class will return TRUE for any given $path.

Parameters

$path to a directory to test:

Return value

TRUE if $path is a valid root directory

Overrides Boot::valid_root

2 methods override BaseBoot::valid_root()
DrupalBoot::valid_root in lib/Drush/Boot/DrupalBoot.php
This function determines if the specified path points to the root directory of a CMS that can be bootstrapped by the specific subclass that implements it.
EmptyBoot::valid_root in lib/Drush/Boot/EmptyBoot.php
This function determines if the specified path points to the root directory of a CMS that can be bootstrapped by the specific subclass that implements it.

File

lib/Drush/Boot/BaseBoot.php, line 18

Namespace

Drush\Boot

Class

BaseBoot

Code

function valid_root($path) {
}