You are here

function coder_upgrade_callback_menu_valid_path in Coder 7.2

Same name and namespace in other branches
  1. 7 coder_upgrade/conversions/call.inc \coder_upgrade_callback_menu_valid_path()

Changes function call parameter.

Parameters

PGPFunctionCall $item:

PGPArray $operand:

1 call to coder_upgrade_callback_menu_valid_path()
coder_upgrade_convert_menu_valid_path in coder_upgrade/conversions/call.inc
Updates menu_valid_path().

File

coder_upgrade/conversions/call.inc, line 2966
Provides conversion routines applied to function calls.

Code

function coder_upgrade_callback_menu_valid_path(&$item, &$operand) {

  // DONE
  cdp("inside " . __FUNCTION__);

  // TODO This key value could also be in double quotes.
  $value = $operand
    ->findValue('link_path');
  cdp($value
    ->print_r());
  $item
    ->setParameter(0, $value);
  cdp($item
    ->toString());
}