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