You are here

public function AttributeBase::getWeight in Linkit 8.4

Returns the weight of the attribute.

Return value

int|string Either the integer weight of the attribute or an empty string.

Overrides AttributeInterface::getWeight

File

src/AttributeBase.php, line 100
Contains \Drupal\linkit\AttributeBase.

Class

AttributeBase
Provides a base class for attribute plugins.

Namespace

Drupal\linkit

Code

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