You are here

function simple_access_action_profile_disable_form in Simple Access 5.2

Configure disable security profile

File

inc/workflow_ng.inc, line 304
Add workflow ng functionality to simple access

Code

function simple_access_action_profile_disable_form($settings = array()) {
  $form = array();
  $form['sa_profiles'] = array(
    '#type' => 'checkboxes',
    '#title' => t('Access profiles'),
    '#default_value' => $settings['sa_profiles'],
    '#options' => simple_access_get_profiles_select(),
    '#description' => t('Select permissions to grant for the content owner'),
  );
  return $form;
}