function panelizer_panelizer_task_edit_settings_submit in Panelizer 7.2
Same name and namespace in other branches
- 7.3 plugins/task_handlers/panelizer_node.inc \panelizer_panelizer_task_edit_settings_submit()
File
- plugins/
task_handlers/ panelizer_node.inc, line 341 - This is the task handler plugin to handle an entity view. NOTE: This is named panelizer_node for historical reasons. It is too much of a pain to change the name of a task handler. This panelizes any entity not just a node.
Code
function panelizer_panelizer_task_edit_settings_submit($form, &$form_state) {
$form_state['handler']->conf['title'] = $form_state['values']['title'];
$form_state['handler']->conf['context'] = $form_state['values']['context'];
}