You are here

function panopoly_magic_menu_alter in Panopoly Magic 7

Implements hook_menu_alter().

File

./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';
}