You are here

function asset_forms in Asset 5.2

Implementation of hook_forms(). All asset forms share the same form handler

Related topics

File

./asset.module, line 391
Main module.

Code

function asset_forms() {
  foreach (array_keys(asset_get_types()) as $type) {
    $forms[$type . '_asset_form']['callback'] = 'asset_form';
  }
  return $forms;
}