You are here

function panels_page_fields in Panels 6.2

Same name and namespace in other branches
  1. 5.2 panels_page/panels_page.module \panels_page_fields()
1 call to panels_page_fields()
panels_page_export in panels_page/panels_page.write.inc
Export a panel page into PHP code for use in import.

File

panels_page/panels_page.write.inc, line 12
panels_page.write.inc

Code

function panels_page_fields() {
  $fields = array();
  $schema = drupal_get_schema('panels_page');
  foreach ($schema['fields'] as $field => $info) {
    $fields[$field] = db_type_placeholder($info['type']);
  }
  return $fields;
}