You are here

public function CheeseburgerMenuItem::getAttribute in Cheeseburger Menu 5.0.x

Returns menu item attribute.

Return value

\Drupal\Core\Template\Attribute Menu item attribute.

File

src/CheeseburgerMenuItem.php, line 255

Class

CheeseburgerMenuItem
Cheeseburger menu item class.

Namespace

Drupal\cheeseburger_menu

Code

public function getAttribute() {
  return $this->attribute;
}