You are here

function activeedit_types in Javascript Tools 5

3 calls to activeedit_types()
activeedit_footer in activeedit/activeedit.module
Implementation of hook_footer().
activeedit_get_targets in activeedit/activeedit.module
activeedit_render in activeedit/activeedit.module

File

activeedit/activeedit.module, line 195

Code

function activeedit_types($type = NULL) {
  $types = array();
  $types['elements'] = array(
    '#placement' => 'html',
    '#send_form' => FALSE,
  );
  $types['autocompletes'] = array(
    '#placement' => 'html',
    '#send_form' => FALSE,
  );
  $types['links'] = array(
    '#placement' => 'after',
    '#send_form' => FALSE,
  );
  $types['bars'] = array(
    '#placement' => NULL,
    '#send_form' => TRUE,
  );
  return $type ? $types[$type] : $types;
}