public function LicenseFileManagerInterface::isLicensable in Commerce File 8.2
Gets whether the given file is licensable.
Parameters
\Drupal\file\FileInterface $file: The file.
Return value
bool Whether the given file is licensable.
1 method overrides LicenseFileManagerInterface::isLicensable()
- LicenseFileManager::isLicensable in src/
LicenseFileManager.php - Gets whether the given file is licensable.
File
- src/
LicenseFileManagerInterface.php, line 74
Class
Namespace
Drupal\commerce_fileCode
public function isLicensable(FileInterface $file);