class Mention in Open Social 8
Same name and namespace in other branches
- 8.9 modules/custom/mentions/src/Annotation/Mention.php \Drupal\mentions\Annotation\Mention
- 8.2 modules/custom/mentions/src/Annotation/Mention.php \Drupal\mentions\Annotation\Mention
- 8.3 modules/custom/mentions/src/Annotation/Mention.php \Drupal\mentions\Annotation\Mention
- 8.4 modules/custom/mentions/src/Annotation/Mention.php \Drupal\mentions\Annotation\Mention
- 8.5 modules/custom/mentions/src/Annotation/Mention.php \Drupal\mentions\Annotation\Mention
- 8.6 modules/custom/mentions/src/Annotation/Mention.php \Drupal\mentions\Annotation\Mention
- 8.7 modules/custom/mentions/src/Annotation/Mention.php \Drupal\mentions\Annotation\Mention
- 8.8 modules/custom/mentions/src/Annotation/Mention.php \Drupal\mentions\Annotation\Mention
- 10.3.x modules/custom/mentions/src/Annotation/Mention.php \Drupal\mentions\Annotation\Mention
- 10.0.x modules/custom/mentions/src/Annotation/Mention.php \Drupal\mentions\Annotation\Mention
- 10.1.x modules/custom/mentions/src/Annotation/Mention.php \Drupal\mentions\Annotation\Mention
- 10.2.x modules/custom/mentions/src/Annotation/Mention.php \Drupal\mentions\Annotation\Mention
Defines Mention Type annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\mentions\Annotation\Mention
Expanded class hierarchy of Mention
2 string references to 'Mention'
- mentions.routing.yml in modules/
custom/ mentions/ mentions.routing.yml - modules/custom/mentions/mentions.routing.yml
- mentions.schema.yml in modules/
custom/ mentions/ config/ schema/ mentions.schema.yml - modules/custom/mentions/config/schema/mentions.schema.yml
1 class is annotated with Mention
- Entity in modules/
custom/ mentions/ src/ Plugin/ Mentions/ Entity.php - Class Entity.
File
- modules/
custom/ mentions/ src/ Annotation/ Mention.php, line 12
Namespace
Drupal\mentions\AnnotationView source
class Mention extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The name of the flavor.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $name;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Mention:: |
public | property | The plugin ID. | |
Mention:: |
public | property | The name of the flavor. | |
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 |