public function ContactForm::getWeight in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::getWeight()
Returns the weight of this category (used for sorting).
Return value
int The weight of this category.
Overrides ContactFormInterface::getWeight
File
- core/
modules/ contact/ src/ Entity/ ContactForm.php, line 120 - Contains \Drupal\contact\Entity\ContactForm.
Class
- ContactForm
- Defines the contact form entity.
Namespace
Drupal\contact\EntityCode
public function getWeight() {
return $this->weight;
}