You are here

public function AttributeBase::getHtmlName in Linkit 8.4

Returns the attribute html name. This is the name of the attribute that will be inserted in the <code>&lt;a&gt;</code> tag.

Return value

string The attribute html name.

Overrides AttributeInterface::getHtmlName

File

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

Class

AttributeBase
Provides a base class for attribute plugins.

Namespace

Drupal\linkit

Code

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