function panels_breadcrumbs_panelizer_breadcrumbs_form in Panels Breadcrumbs 7.2
Panelizer breadcrumb configuration form.
2 string references to 'panels_breadcrumbs_panelizer_breadcrumbs_form'
- panels_breadcrumbs_panelizer_breadcrumbs_admin_page in ./
panels_breadcrumbs.module - Panelizer breadcrumbs operation admin page callback.
- panels_breadcrumbs_panelizer_breadcrumbs_entity_page in ./
panels_breadcrumbs.module - Panelizer breadcrumbs operation entity page callback.
File
- ./
panels_breadcrumbs.module, line 490 - Main file for panels breadcrumbs module.
Code
function panels_breadcrumbs_panelizer_breadcrumbs_form($form, $form_state) {
ctools_include('context');
$panelizer = $form_state['panelizer'];
$contexts = ctools_context_load_contexts($panelizer);
$form = panels_breadcrumbs_partial_configuration_form($form_state['panelizer']->extra, $contexts);
$form['actions'] = array(
'#type' => 'actions',
);
$form['actions']['submit'] = array(
'#type' => 'submit',
'#value' => t('Save'),
'#name' => 'save',
);
$form['actions']['cancel'] = array(
'#type' => 'submit',
'#value' => t('Cancel'),
'#name' => 'cancel',
);
return $form;
}