You are here

function apply_for_role_block_save in Apply for role 7.2

Implements hook_block_save()

Purpose: Storing value on apply for role block concerning displaying when no values are present.

File

./apply_for_role.module, line 927
Allows users to apply for roles.

Code

function apply_for_role_block_save($delta = '', $edit = array()) {

  // Set value from form to value stashed for displaying block or not if no roles.
  variable_set('apply_for_role_hide_block_no_roles', $edit['apply_for_role_hide_block_no_roles']);
}