class RelatedEntitiesDetector in Lingotek Translation 3.7.x
Same name and namespace in other branches
- 4.0.x src/Annotation/RelatedEntitiesDetector.php \Drupal\lingotek\Annotation\RelatedEntitiesDetector
- 3.4.x src/Annotation/RelatedEntitiesDetector.php \Drupal\lingotek\Annotation\RelatedEntitiesDetector
- 3.5.x src/Annotation/RelatedEntitiesDetector.php \Drupal\lingotek\Annotation\RelatedEntitiesDetector
- 3.6.x src/Annotation/RelatedEntitiesDetector.php \Drupal\lingotek\Annotation\RelatedEntitiesDetector
- 3.8.x src/Annotation/RelatedEntitiesDetector.php \Drupal\lingotek\Annotation\RelatedEntitiesDetector
Defines a RelatedEntitiesDetector annotation object
Hierarchy
- class \Drupal\Component\Annotation\AnnotationBase implements AnnotationInterface
- class \Drupal\lingotek\Annotation\RelatedEntitiesDetector
Expanded class hierarchy of RelatedEntitiesDetector
File
- src/
Annotation/ RelatedEntitiesDetector.php, line 12
Namespace
Drupal\lingotek\AnnotationView source
class RelatedEntitiesDetector extends AnnotationBase {
/**
* The plugin ID
*
* @var string
*/
public $id;
/**
* The human-readable name of the RelatedEntitiesDetector type
*
* @ingroup plugin_translatable
*
* @var \Drupal\Core\Annotation\Translation
*/
public $title;
/**
* The human-readable description of the RelatedEntitiesDetector type
*
* @ingroup_translatable
*
* @var \Drupal\Core\Annotation\Translation
*/
public $description;
/**
* The plugin weight
*
* @var int
*/
public $weight;
/**
* {@inheritdoc}
*/
public function get() {
return [
'id' => $this->id,
'title' => $this->title,
'description' => $this->description,
'weight' => $this->weight,
'class' => $this->class,
'provider' => $this->provider,
];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AnnotationBase:: |
protected | property | The class used for this annotated class. | |
AnnotationBase:: |
protected | property | The provider of the annotated class. | |
AnnotationBase:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
AnnotationBase:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
1 |
AnnotationBase:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
AnnotationBase:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
AnnotationBase:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
RelatedEntitiesDetector:: |
public | property | The human-readable description of the RelatedEntitiesDetector type | |
RelatedEntitiesDetector:: |
public | property |
The plugin ID Overrides AnnotationBase:: |
|
RelatedEntitiesDetector:: |
public | property | The human-readable name of the RelatedEntitiesDetector type | |
RelatedEntitiesDetector:: |
public | property | The plugin weight | |
RelatedEntitiesDetector:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |