You are here

function shs_conditional_fields_states_handlers_alter in Simple hierarchical select 7

Implements hook_conditional_fields_states_handlers_alter().

File

./shs.module, line 245
Provides an additional widget for term fields to create hierarchical selects.

Code

function shs_conditional_fields_states_handlers_alter(&$handlers) {
  $handlers += array(
    'shs_conditional_fields_states_handler_shs' => array(
      array(
        'tid' => array(
          '#type' => 'select',
        ),
      ),
    ),
  );
}