You are here

public function OgMenuInstance::getType in Organic Groups Menu (OG Menu) 8

Gets the OG Menu.

Return value

string The OG Menu.

Overrides OgMenuInstanceInterface::getType

File

src/Entity/OgMenuInstance.php, line 61
Contains \Drupal\og_menu\Entity\OgMenuInstance.

Class

OgMenuInstance
Defines the OG Menu instance entity.

Namespace

Drupal\og_menu\Entity

Code

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