You are here

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

Menu has icon.

Return value

bool Menu has icon.

File

src/CheeseburgerMenu.php, line 373

Class

CheeseburgerMenu
Cheeseburger menu class.

Namespace

Drupal\cheeseburger_menu

Code

public function hasIcon() {
  return !empty($this->icon);
}