class LearningPathContentType in Opigno Learning path 8
Same name and namespace in other branches
- 3.x src/Annotation/LearningPathContentType.php \Drupal\opigno_learning_path\Annotation\LearningPathContentType
Class LearningPathContentType.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\opigno_learning_path\Annotation\LearningPathContentType
Expanded class hierarchy of LearningPathContentType
File
- src/
Annotation/ LearningPathContentType.php, line 12
Namespace
Drupal\opigno_learning_path\AnnotationView source
class LearningPathContentType extends Plugin {
/**
* The content type ID.
*
* @var string
*/
public $id;
/**
* The content type name.
*
* @var string
*/
public $readable_name;
/**
* The content type description.
*
* @var string
*/
public $description;
/**
* The content's entity type.
*
* @var string
*/
public $entity_type;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LearningPathContentType:: |
public | property | The content type description. | |
LearningPathContentType:: |
public | property | The content's entity type. | |
LearningPathContentType:: |
public | property | The content type ID. | |
LearningPathContentType:: |
public | property | The content type name. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |