You are here

function dynamic_background_theme in Dynamic Background 6

Same name and namespace in other branches
  1. 7.2 dynamic_background.module \dynamic_background_theme()
  2. 7 dynamic_background.module \dynamic_background_theme()

Implementation of hook_theme(). This defines the default theming function for the background_upload_form element.

File

includes/upload.form.inc, line 29
The functions here is used to create an new form element (background_upload_form), which can be used to upload images. It also gives the possibility to flag a image for deletion or active background image.

Code

function dynamic_background_theme() {
  return array(
    'background_upload_form' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
  );
}