public function AttributeInterface::setWeight in Linkit 8.4
Sets the weight for this attribute.
Parameters
int $weight: The weight for this attribute.
Return value
$this
1 method overrides AttributeInterface::setWeight()
- AttributeBase::setWeight in src/
AttributeBase.php - Sets the weight for this attribute.
File
- src/
AttributeInterface.php, line 64 - Contains \Drupal\linkit\AttributeInterface.
Class
- AttributeInterface
- Defines the interface for attributes plugins.
Namespace
Drupal\linkitCode
public function setWeight($weight);