function ClassRequiresAvailable::externalCommandIsAvailable
Same name in other branches
- 9 core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php \Drupal\BuildTests\Framework\Tests\ClassRequiresAvailable::externalCommandIsAvailable()
- 10 core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php \Drupal\BuildTests\Framework\Tests\ClassRequiresAvailable::externalCommandIsAvailable()
Overrides ExternalCommandRequirementsTrait::externalCommandIsAvailable
File
-
core/
tests/ Drupal/ BuildTests/ Framework/ Tests/ ExternalCommandRequirementTest.php, line 145
Class
- ClassRequiresAvailable
- @requires externalCommand available_command
Namespace
Drupal\BuildTests\Framework\TestsCode
protected static function externalCommandIsAvailable($command) {
return in_array($command, [
'available_command',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.