You are here

function asset_form_validate in Asset 5.2

Form validation for asset_form

Related topics

File

./asset.module, line 561
Main module.

Code

function asset_form_validate($form_id, $form_values, $form) {

  // Convert the asset to an object, if necessary.
  $asset = (object) $form_values;
  asset_type_invoke($asset, 'validate');
}