You are here

protected function GroupContentMenu::getMenuType in Group Content Menu 8

Retrieves the menu type this plugin supports.

Return value

\Drupal\Core\Entity\EntityInterface The menu type this plugin supports.

File

src/Plugin/GroupContentEnabler/GroupContentMenu.php, line 36

Class

GroupContentMenu
Provides a content enabler for group menus.

Namespace

Drupal\group_content_menu\Plugin\GroupContentEnabler

Code

protected function getMenuType() {
  return GroupContentMenuType::load($this
    ->getEntityBundle());
}