You are here

public function ContactFormInterface::setWeight in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/contact/src/ContactFormInterface.php \Drupal\contact\ContactFormInterface::setWeight()

Sets the weight.

Parameters

int $weight: The desired weight.

Return value

$this

1 method overrides ContactFormInterface::setWeight()
ContactForm::setWeight in core/modules/contact/src/Entity/ContactForm.php
Sets the weight.

File

core/modules/contact/src/ContactFormInterface.php, line 69
Contains \Drupal\contact\ContactFormInterface.

Class

ContactFormInterface
Provides an interface defining a contact form entity.

Namespace

Drupal\contact

Code

public function setWeight($weight);