You are here

public function FlexiformElement::getWeight in Flexiform 7

Get the weight of this form element.

Return value

int The weight (ordering number) of the element.

2 calls to FlexiformElement::getWeight()
FlexiformElement::form in includes/flexiform.element.inc
Get the form element.
FlexiformElement::toSettingsArray in includes/flexiform.element.inc
Convert this object into a settings array.

File

includes/flexiform.element.inc, line 149
Controller class for flexiform elements.

Class

FlexiformElement
Base class for all FlexiformElements

Code

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