You are here

public function FlexiformDisplayEditPage::hook_menu in Flexiform 7

Define the menu links

Overrides FlexiformDisplayPageBase::hook_menu

File

includes/display/edit_page.display.inc, line 37
Define Display plugin for the add page.

Class

FlexiformDisplayEditPage
Class for add page displays.

Code

public function hook_menu() {

  // If there is no base id in this path we cannot use it for an edit page.
  if (!$this
    ->getBaseIdPosition()) {
    return array();
  }
  return parent::hook_menu();
}