function panopoly_magic_menu_alter in Panopoly 7
Implements hook_menu_alter().
File
- modules/
panopoly/ panopoly_magic/ panopoly_magic.module, line 149
Code
function panopoly_magic_menu_alter(&$items) {
// Include entity_field.inc from ctools to ensure that files can be properly removed
// from within the panelizer edit forms.
$items['file/ajax']['file'] = 'entity_field.inc';
$items['file/ajax']['file path'] = drupal_get_path('module', 'ctools') . '/plugins/content_types/entity_context';
}