interface TincanServiceInterface in Opigno module 8
Same name and namespace in other branches
- 3.x ActivityTypes/opigno_tincan_activity/src/TincanServiceInterface.php \Drupal\opigno_tincan_activity\TincanServiceInterface
Interface TincanServiceInterface.
Hierarchy
- interface \Drupal\opigno_tincan_activity\TincanServiceInterface
Expanded class hierarchy of TincanServiceInterface
All classes that implement TincanServiceInterface
File
- ActivityTypes/
opigno_tincan_activity/ src/ TincanServiceInterface.php, line 10
Namespace
Drupal\opigno_tincan_activityView source
interface TincanServiceInterface {
/**
* Save tincan package.
*
* @param \Drupal\file\Entity\File $file
* File object.
*
* @return int
* Downloaded file $fid.
*/
public function saveTincanPackageInfo(File $file);
/**
* Get the maximum possible score for this question.
*/
public function getMaximumScore();
/**
* Implementation of deleteTincanPackage().
*/
public function deleteTincanPackage();
/**
* Get Tincan data by it's file id.
*
* @param object \Drupal\file\Entity\File $file
* File entity.
*/
public function tincanLoadByFileEntity(File $file);
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TincanServiceInterface:: |
public | function | Implementation of deleteTincanPackage(). | 1 |
TincanServiceInterface:: |
public | function | Get the maximum possible score for this question. | 1 |
TincanServiceInterface:: |
public | function | Save tincan package. | 1 |
TincanServiceInterface:: |
public | function | Get Tincan data by it's file id. | 1 |