public function Project::isValid

8.0.x Project.php public Project::isValid()
7.x Project.php public Project::isValid()
master Project.php public Project::isValid()

Whether this object represents a project in the update service or an error.

File

lib/Drush/UpdateService/Project.php, line 284

Namespace

Drush\UpdateService

Class

Project
Representation of a project's release info from the update service.

Code

public function isValid() {
  return ($this->error === FALSE);
}