You are here

public function CheeseburgerMenu::setIcon in Cheeseburger Menu 5.0.x

Set menu icon.

@todo add jpg and png support.

Parameters

string $icon_content: Icon content.

File

src/CheeseburgerMenu.php, line 352

Class

CheeseburgerMenu
Cheeseburger menu class.

Namespace

Drupal\cheeseburger_menu

Code

public function setIcon($icon_content) {
  $this->icon = $icon_content;
  return $this;
}