class DemoContent in Open Social 8
Same name in this branch
- 8 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent
- 8 modules/custom/social_demo/src/Annotation/DemoContent.php \Drupal\social_demo\Annotation\DemoContent
Same name and namespace in other branches
- 8.9 modules/custom/social_demo/src/Annotation/DemoContent.php \Drupal\social_demo\Annotation\DemoContent
- 8.2 modules/custom/social_demo/src/Annotation/DemoContent.php \Drupal\social_demo\Annotation\DemoContent
- 8.3 modules/custom/social_demo/src/Annotation/DemoContent.php \Drupal\social_demo\Annotation\DemoContent
- 8.4 modules/custom/social_demo/src/Annotation/DemoContent.php \Drupal\social_demo\Annotation\DemoContent
- 8.5 modules/custom/social_demo/src/Annotation/DemoContent.php \Drupal\social_demo\Annotation\DemoContent
- 8.6 modules/custom/social_demo/src/Annotation/DemoContent.php \Drupal\social_demo\Annotation\DemoContent
- 8.7 modules/custom/social_demo/src/Annotation/DemoContent.php \Drupal\social_demo\Annotation\DemoContent
- 8.8 modules/custom/social_demo/src/Annotation/DemoContent.php \Drupal\social_demo\Annotation\DemoContent
- 10.3.x modules/custom/social_demo/src/Annotation/DemoContent.php \Drupal\social_demo\Annotation\DemoContent
- 10.0.x modules/custom/social_demo/src/Annotation/DemoContent.php \Drupal\social_demo\Annotation\DemoContent
- 10.1.x modules/custom/social_demo/src/Annotation/DemoContent.php \Drupal\social_demo\Annotation\DemoContent
- 10.2.x modules/custom/social_demo/src/Annotation/DemoContent.php \Drupal\social_demo\Annotation\DemoContent
Defines a DemoContent annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\social_demo\Annotation\DemoContent
Expanded class hierarchy of DemoContent
15 classes are annotated with DemoContent
- Book in modules/
custom/ social_demo/ src/ Plugin/ DemoContent/ Book.php - Book Plugin for demo content.
- Comment in modules/
custom/ social_demo/ src/ Plugin/ DemoContent/ Comment.php - Comment Plugin for demo content.
- Event in modules/
custom/ social_demo/ src/ Plugin/ DemoContent/ Event.php - Event Plugin for demo content.
- EventEnrollment in modules/
custom/ social_demo/ src/ Plugin/ DemoContent/ EventEnrollment.php - EventEnrollment Plugin for demo content.
- EventType in modules/
custom/ social_demo/ src/ Plugin/ DemoContent/ EventType.php - EventType Plugin for demo content.
File
- modules/
custom/ social_demo/ src/ Annotation/ DemoContent.php, line 12
Namespace
Drupal\social_demo\AnnotationView source
class DemoContent extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The content type label.
*
* @var string
*/
public $label;
/**
* The source file.
*
* @var string
*/
public $source;
/**
* The entity type id.
*
* @var string
*/
public $entityType;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DemoContent:: |
public | property | The entity type id. | |
DemoContent:: |
public | property | The plugin ID. | |
DemoContent:: |
public | property | The content type label. | |
DemoContent:: |
public | property | The source file. | |
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 |