You are here

function fieldable_panels_panes_entity_edit_page in Fieldable Panels Panes (FPP) 7

Page callback to view a entity.

Parameters

object $entity: The FPP object to process.

1 string reference to 'fieldable_panels_panes_entity_edit_page'
fieldable_panels_panes_menu in ./fieldable_panels_panes.module
Implements hook_menu().

File

includes/admin.inc, line 130
Contains administrative pages and functions for fieldable entity panes.

Code

function fieldable_panels_panes_entity_edit_page($entity) {
  $form_state = array(
    'entity' => $entity,
    'add submit' => TRUE,
  );
  return drupal_build_form('fieldable_panels_panes_entity_edit_form', $form_state);
}