You are here

public function ContactFormInterface::getWeight in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/contact/src/ContactFormInterface.php \Drupal\contact\ContactFormInterface::getWeight()
  2. 10 core/modules/contact/src/ContactFormInterface.php \Drupal\contact\ContactFormInterface::getWeight()

Returns the weight of this category (used for sorting).

Return value

int The weight of this category.

1 method overrides ContactFormInterface::getWeight()
ContactForm::getWeight in core/modules/contact/src/Entity/ContactForm.php
Returns the weight of this category (used for sorting).

File

core/modules/contact/src/ContactFormInterface.php, line 60

Class

ContactFormInterface
Provides an interface defining a contact form entity.

Namespace

Drupal\contact

Code

public function getWeight();