You are here

class ActivityAnswer in Opigno module 8

Same name and namespace in other branches
  1. 3.x src/Annotation/ActivityAnswer.php \Drupal\opigno_module\Annotation\ActivityAnswer

Annotation for ActivityType plugin.

Hierarchy

Expanded class hierarchy of ActivityAnswer

8 classes are annotated with ActivityAnswer
FileUploadActivityAnswer in ActivityTypes/opigno_file_upload/src/Plugin/ActivityAnswer/FileUploadActivityAnswer.php
Class FileUploadActivityAnswer.
H5pActivityAnswer in ActivityTypes/opigno_h5p/src/Plugin/ActivityAnswer/H5pActivityAnswer.php
Class H5pActivityAnswer.
LongAnswerActivityAnswer in ActivityTypes/opigno_long_answer/src/Plugin/ActivityAnswer/LongAnswerActivityAnswer.php
Class LongAnswerActivityAnswer.
ScormActivityAnswer in ActivityTypes/opigno_scorm_activity/src/Plugin/ActivityAnswer/ScormActivityAnswer.php
Class ScormActivityAnswer.
SlideActivityAnswer in src/Plugin/ActivityAnswer/SlideActivityAnswer.php
Class SlideActivityAnswer.

... See full list

File

src/Annotation/ActivityAnswer.php, line 12

Namespace

Drupal\opigno_module\Annotation
View source
class ActivityAnswer extends Plugin {

  /**
   * Plugin id.
   *
   * @var string
   */
  public $id;

  /**
   * Plugin field activity type bundle.
   *
   * @var string
   */
  public $activityTypeBundle;

}

Members

Namesort descending Modifiers Type Description Overrides
ActivityAnswer::$activityTypeBundle public property Plugin field activity type bundle.
ActivityAnswer::$id public property Plugin id.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2