interface ActivityAnswerPluginInterface in Opigno module 3.x
Same name and namespace in other branches
- 8 src/ActivityAnswerPluginInterface.php \Drupal\opigno_module\ActivityAnswerPluginInterface
Interface ActivityAnswerPluginInterface.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\opigno_module\ActivityAnswerPluginInterface
Expanded class hierarchy of ActivityAnswerPluginInterface
All classes that implement ActivityAnswerPluginInterface
File
- src/
ActivityAnswerPluginInterface.php, line 12
Namespace
Drupal\opigno_moduleView source
interface ActivityAnswerPluginInterface extends PluginInspectionInterface {
/**
* Get plugin id.
*/
public function getId();
/**
* Get plugin activity type.
*/
public function getActivityType();
/**
* Indicates if answer should me evaluated on save or not.
*/
public function evaluatedOnSave(OpignoActivityInterface $activity);
/**
* Score logic for specified activity.
*/
public function getScore(OpignoAnswerInterface $answer);
/**
* Modify answering form.
*/
public function answeringForm(array &$form);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ActivityAnswerPluginInterface:: |
public | function | Modify answering form. | 1 |
ActivityAnswerPluginInterface:: |
public | function | Indicates if answer should me evaluated on save or not. | 1 |
ActivityAnswerPluginInterface:: |
public | function | Get plugin activity type. | 1 |
ActivityAnswerPluginInterface:: |
public | function | Get plugin id. | 1 |
ActivityAnswerPluginInterface:: |
public | function | Score logic for specified activity. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |