SimpleMegaMenuTypeInterface.php in Simple Mega Menu 2.0.x
Same filename and directory in other branches
Namespace
Drupal\simple_megamenu\EntityFile
src/Entity/SimpleMegaMenuTypeInterface.phpView source
<?php
namespace Drupal\simple_megamenu\Entity;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
/**
* Provides an interface for defining Simple mega menu type entities.
*/
interface SimpleMegaMenuTypeInterface extends ConfigEntityInterface {
/**
* Gets the target menu.
*
* @return array
* The menus targeted by the entity.
*/
public function getTargetMenu();
/**
* Sets the target menus.
*
* @param array $target_menu
* The target menus.
*
* @return \Drupal\simple_megamenu\Entity\SimpleMegaMenuTypeInterface
* The SimpleMegaMenuType.
*/
public function setTargetMenu(array $target_menu);
}
Interfaces
Name | Description |
---|---|
SimpleMegaMenuTypeInterface | Provides an interface for defining Simple mega menu type entities. |