You are here

public function PowerMenuHandlerInterface::menuFormAlter in Power Menu 7.2

Drupal menu item form alter.

Alter the existing form or return a forms array which is added to the menu item form grouped by the handler.

Parameters

array &$menu_item_form: An associative array containing the structure of the form.

array &$form_state: A keyed array containing the current state of the form.

Return value

Return a form array, otherwise FALSE.

3 methods override PowerMenuHandlerInterface::menuFormAlter()
PowerMenuNodeHandler::menuFormAlter in plugins/menu_handlers/PowerMenuNodeHandler.class.php
PowerMenuPathHandler::menuFormAlter in plugins/menu_handlers/PowerMenuPathHandler.class.php
PowerMenuTaxonomyHandler::menuFormAlter in plugins/menu_handlers/PowerMenuTaxonomyHandler.class.php

File

plugins/menu_handlers/PowerMenuHandler.interface.php, line 76

Class

PowerMenuHandlerInterface
Interface representing a power menu handler.

Code

public function menuFormAlter(&$menu_item_form, &$form_state);