You are here

function acl_elements in ACL 5

Provide a special button type that doesn't get its #name blasted.

File

./acl.module, line 50
acl.module

Code

function acl_elements() {
  $type['acl_button'] = array(
    '#input' => TRUE,
    '#button_type' => 'submit',
    '#executes_submit_callback' => FALSE,
  );
  return $type;
}