function ctools_page_title_content_type_edit_form_submit in Chaos Tool Suite (ctools) 7
Same name and namespace in other branches
- 6 plugins/content_types/page/page_title.inc \ctools_page_title_content_type_edit_form_submit()
The submit form stores the data in $conf.
File
- plugins/
content_types/ page/ page_title.inc, line 97 - Plugin to handle the 'page' content type which allows the standard page template variables to be embedded into a panel.
Code
function ctools_page_title_content_type_edit_form_submit($form, &$form_state) {
foreach (array_keys($form_state['plugin']['defaults']) as $key) {
if (isset($form_state['values'][$key])) {
$form_state['conf'][$key] = $form_state['values'][$key];
}
}
}