Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi there.... i have an better exposed filter where I did a hook form alter to add a checkbox....
How do I add the display options into that hook?
I need this in the rendered view for my checkbox
$handler->display->display_options['exposed_form']['options']['bef'] = array(
'general' => array(
'allow_secondary' => 1,
'secondary_label' => 'Advanced options',
),
My hook looks like this so far
if ($form_id == 'views_exposed_form' && $form_state['view']->name == 'booking_jobs') {
$form['field_artist_replied_target_id'] = array(
'#type' => 'checkbox',
'#title' => t('field_artist_replied_target_id'),
'#default_value' => NULL,
'#return_value' => $_SESSION['artist_title_nid']
);
}
}
Comments
Comment #1
Neslee Canil PintoHi, there will be no more future development for 7.x branch. If you see this issue in 8.x, feel free to file an issue. Closing this as Closed(wont fix).