You are here

function emthumb_elements in Embedded Media Field 6.2

Same name and namespace in other branches
  1. 6.3 contrib/emthumb/emthumb.module \emthumb_elements()
  2. 6 contrib/emthumb/emthumb.module \emthumb_elements()

Implementation of hook_elements().

File

contrib/emthumb/emthumb.module, line 346
Allows for custom thumbnail overrides to Embedded Media Field.

Code

function emthumb_elements() {
  $elements = array();
  $elements['emthumb_widget'] = array(
    '#input' => TRUE,
    '#process' => array(
      'emthumb_widget_element_process',
    ),
    '#element_validate' => array(
      'emthumb_widget_element_validate',
    ),
  );
  return $elements;
}