You are here

class RelatedEntitiesDetector 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
  2. 3.5.x src/Annotation/RelatedEntitiesDetector.php \Drupal\lingotek\Annotation\RelatedEntitiesDetector
  3. 3.6.x src/Annotation/RelatedEntitiesDetector.php \Drupal\lingotek\Annotation\RelatedEntitiesDetector
  4. 3.7.x src/Annotation/RelatedEntitiesDetector.php \Drupal\lingotek\Annotation\RelatedEntitiesDetector
  5. 3.8.x src/Annotation/RelatedEntitiesDetector.php \Drupal\lingotek\Annotation\RelatedEntitiesDetector

Defines a RelatedEntitiesDetector annotation object

Hierarchy

Expanded class hierarchy of RelatedEntitiesDetector

File

src/Annotation/RelatedEntitiesDetector.php, line 12

Namespace

Drupal\lingotek\Annotation
View 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

Namesort descending Modifiers Type Description Overrides
AnnotationBase::$class protected property The class used for this annotated class.
AnnotationBase::$provider protected property The provider of the annotated class.
AnnotationBase::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
AnnotationBase::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId 1
AnnotationBase::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
AnnotationBase::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
AnnotationBase::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
RelatedEntitiesDetector::$description public property The human-readable description of the RelatedEntitiesDetector type
RelatedEntitiesDetector::$id public property The plugin ID Overrides AnnotationBase::$id
RelatedEntitiesDetector::$title public property The human-readable name of the RelatedEntitiesDetector type
RelatedEntitiesDetector::$weight public property The plugin weight
RelatedEntitiesDetector::get public function Gets the value of an annotation. Overrides AnnotationInterface::get