Thursday, 12 March 2015

Upload Image using managed_file form api

  1. Add managed_file filed in the form containing the upload input referring to the drupal form api
  2. Add the code saving file permanently in the form submit callback function
  3. Get the URL of the uploaded file and use it

2 comments: