/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * Implementation of hook_form_FORM_ID_alter() for 'views exposed form' * Change the first option label '<All>' to 'Filter by Identifier Name' for exposed filters * The filter identifier needs set up with underscores for multiple word filter names * e.g. 'document_type' becomes 'Document Type' */ function mymodule_form_views_exposed_form_alter (&$form, $form_state) { foreach($form as $key => &$value) { } } }
Comments
