ContactForm::setWeight

public ContactForm::setWeight($weight)

Sets the weight.

Parameters

int $weight: The desired weight.

Return value

$this

Overrides ContactFormInterface::setWeight

File

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

Class

ContactForm
Defines the contact form entity.

Namespace

Drupal\contact\Entity

Code

public function setWeight($weight) {
  $this->weight = $weight;
  return $this;
}
doc_Drupal
2016-10-29 08:56:22
Comments
Leave a Comment

Please login to continue.