You are here

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

Sets menu title.

Parameters

\Drupal\Core\StringTranslation\TranslatableMarkup|string $title: Menu title.

1 call to CheeseburgerMenu::setTitle()
CheeseburgerMenu::__construct in src/CheeseburgerMenu.php
Cheeseburger menu constructor.

File

src/CheeseburgerMenu.php, line 277

Class

CheeseburgerMenu
Cheeseburger menu class.

Namespace

Drupal\cheeseburger_menu

Code

public function setTitle($title) {
  $this->title = $title;
}