You are here

function fieldable_panels_pane_view in Fieldable Panels Panes (FPP) 7

Entity API callback to view a fieldable panel pane.

This is essentially a duplicate of fieldable_panels_panes_view() but the function name has to match the entity type with is singular.

See also

entity_view()

1 call to fieldable_panels_pane_view()
fieldable_panels_panes_view in ./fieldable_panels_panes.module
View a fieldable panel pane.

File

./fieldable_panels_panes.module, line 1157
Maintains an entity that appears as panel pane content.

Code

function fieldable_panels_pane_view($entity, $view_mode = 'full', $langcode = NULL) {
  return entity_get_controller('fieldable_panels_pane')
    ->view($entity, $view_mode, $langcode);
}