function ContactForm::getWeight

Same name in other branches
  1. 9 core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::getWeight()
  2. 10 core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::getWeight()
  3. 11.x core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::getWeight()

Overrides ContactFormInterface::getWeight

File

core/modules/contact/src/Entity/ContactForm.php, line 182

Class

ContactForm
Defines the contact form entity.

Namespace

Drupal\contact\Entity

Code

public function getWeight() {
    return $this->weight;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.