function relation_entity_collector_pick in Relation 7
Submit handler for the pick button.
1 string reference to 'relation_entity_collector_pick'
- relation_entity_collector in relation_entity_collector/
relation_entity_collector.module - The entity_collector form.
File
- relation_entity_collector/
relation_entity_collector.module, line 412 - Relation Entity Collector Block.
Code
function relation_entity_collector_pick($form, &$form_state) {
$_SESSION['relation_entity_keys'][] = $form_state['pick'];
$_SESSION['relation_type'] = $form_state['values']['relation_type'];
$form_state['rebuild'] = TRUE;
}