public function SimpleMegaMenu::getName in Simple Mega Menu 8
Same name and namespace in other branches
- 2.0.x src/Entity/SimpleMegaMenu.php \Drupal\simple_megamenu\Entity\SimpleMegaMenu::getName()
Gets the Simple mega menu name.
Return value
string Name of the Simple mega menu.
Overrides SimpleMegaMenuInterface::getName
File
- src/
Entity/ SimpleMegaMenu.php, line 125
Class
- SimpleMegaMenu
- Defines the Simple mega menu entity.
Namespace
Drupal\simple_megamenu\EntityCode
public function getName() {
return $this
->get('name')->value;
}