You are here

function access_test_scheme_settings_callback in Access Control Kit 7

Settings callback for the "Yes or no" scheme.

1 string reference to 'access_test_scheme_settings_callback'
access_test_access_scheme_info_alter in tests/access_test.module
Implements hook_access_scheme_info_alter().

File

tests/access_test.module, line 70
A dummy module for testing the access control kit API.

Code

function access_test_scheme_settings_callback($scheme, $has_data) {
  $form['access_test'] = array(
    '#markup' => $has_data ? t('The scheme has grants.') : t('The scheme does not have grants.'),
  );
  return $form;
}