You are here

public function AttributeBase::getLabel in Linkit 8.4

Returns the attribute label.

Return value

string The attribute label.

Overrides AttributeInterface::getLabel

File

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

Class

AttributeBase
Provides a base class for attribute plugins.

Namespace

Drupal\linkit

Code

public function getLabel() {
  return $this->pluginDefinition['label'];
}