You are here

function fieldable_panels_panes_create in Fieldable Panels Panes (FPP) 7

Callback to create a new entity.

4 calls to fieldable_panels_panes_create()
fieldable_panels_pane::add_entity_page in plugins/export_ui/fieldable_panels_pane.class.php
Add entity page.
fieldable_panels_panes_entities_add_page in includes/admin.inc
Page callback to add a new pane entity.
fieldable_panels_panes_load_from_subtype in ./fieldable_panels_panes.module
Properly load the FPP entity via its subtype.
fieldable_panels_panes_services_create in ./fieldable_panels_panes.services.inc
Adds a new Fieldable Panels Pane and return the fpid.
1 string reference to 'fieldable_panels_panes_create'
fieldable_panels_panes_entity_info in ./fieldable_panels_panes.module
Implements hook_entity_info().

File

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

Code

function fieldable_panels_panes_create($values = array()) {
  return entity_get_controller('fieldable_panels_pane')
    ->create($values);
}