public function CDNBaseInterface::isLocalAvailable in Libraries CDN API 7
Check if a file is available locally.
Parameters
string $file: The file to check.
string $version: The version to check the file against.
Return value
bool Return TRUE if the file is available, FALSE otherwise.
1 method overrides CDNBaseInterface::isLocalAvailable()
- CDNBase::isLocalAvailable in src/
Type/ CDNBase.php - Check if a file is available locally.
File
- src/
Type/ CDNBaseInterface.php, line 147 - Interface CDNBaseInterface.
Class
- CDNBaseInterface
- Interface CDNBaseInterface.
Namespace
Drupal\libraries_cdn\TypeCode
public function isLocalAvailable($file, $version);