You are here

public function SimpleMegaMenu::getType in Simple Mega Menu 2.0.x

Same name and namespace in other branches
  1. 8 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\Entity

Code

public function getType() {
  return $this
    ->bundle();
}