You are here

public function RelatedEntitiesDetector::get in Lingotek Translation 4.0.x

Same name and namespace in other branches
  1. 3.4.x src/Annotation/RelatedEntitiesDetector.php \Drupal\lingotek\Annotation\RelatedEntitiesDetector::get()
  2. 3.5.x src/Annotation/RelatedEntitiesDetector.php \Drupal\lingotek\Annotation\RelatedEntitiesDetector::get()
  3. 3.6.x src/Annotation/RelatedEntitiesDetector.php \Drupal\lingotek\Annotation\RelatedEntitiesDetector::get()
  4. 3.7.x src/Annotation/RelatedEntitiesDetector.php \Drupal\lingotek\Annotation\RelatedEntitiesDetector::get()
  5. 3.8.x src/Annotation/RelatedEntitiesDetector.php \Drupal\lingotek\Annotation\RelatedEntitiesDetector::get()

Gets the value of an annotation.

Overrides AnnotationInterface::get

File

src/Annotation/RelatedEntitiesDetector.php, line 49

Class

RelatedEntitiesDetector
Defines a RelatedEntitiesDetector annotation object

Namespace

Drupal\lingotek\Annotation

Code

public function get() {
  return [
    'id' => $this->id,
    'title' => $this->title,
    'description' => $this->description,
    'weight' => $this->weight,
    'class' => $this->class,
    'provider' => $this->provider,
  ];
}