You are here

SimpleMegaMenuTypeInterface.php in Simple Mega Menu 2.0.x

Same filename and directory in other branches
  1. 8 src/Entity/SimpleMegaMenuTypeInterface.php

File

src/Entity/SimpleMegaMenuTypeInterface.php
View 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

Namesort descending Description
SimpleMegaMenuTypeInterface Provides an interface for defining Simple mega menu type entities.