You are here

function scald_gallery_scald_add_form in Scald: Gallery 7

Same name and namespace in other branches
  1. 7.2 scald_gallery.module \scald_gallery_scald_add_form()

Implements hook_scald_add_form().

File

./scald_gallery.module, line 128
Scald Gallery is a Scald Atom Provider for image galleries.

Code

function scald_gallery_scald_add_form(&$form, &$form_state) {
  $form['gallery'] = array(
    '#type' => 'plupload',
    '#upload_validators' => array(
      'file_validate_extensions' => array(
        'jpg jpeg png gif',
      ),
    ),
  );
}