You are here

function cookie_content_blocker_settings_form in Cookie Content Blocker 7

Form callback for the admin settings form.

Parameters

array $form: The structure of the form.

array $form_state: The current state of the form.

Return value

array The configuration form.

See also

system_settings_form_submit()

1 string reference to 'cookie_content_blocker_settings_form'
cookie_content_blocker_menu in ./cookie_content_blocker.module
Implements hook_menu().

File

./cookie_content_blocker.admin.inc, line 21
Admin functionality for Cookie content blocker.

Code

function cookie_content_blocker_settings_form(array $form, array &$form_state) {
  $form = _cookie_content_blocker_variable_form($form, 'cookie_content_blocker');
  $form = _cookie_content_blocker_cookie_aware_form($form);
  $form['#after_build'] = array(
    'cookie_content_blocker_settings_form_after_build',
  );
  return system_settings_form($form);
}