You are here

function asset_type_invoke in Asset 5.2

Invoke the module specific asset_type hook

Related topics

11 calls to asset_type_invoke()
assetfield_js_callback in ./asset_wizard.module
asset_delete in ./asset.module
Delete an asset.
asset_form in ./asset.module
Generate the asset add/edit form array.
asset_form_submit in ./asset.module
Form submit for asset_form
asset_form_validate in ./asset.module
Form validation for asset_form

... See full list

File

./asset.module, line 901
Main module.

Code

function asset_type_invoke(&$asset, $op) {
  static $types;
  if (!isset($types)) {
    $types = asset_get_types();
  }
  $module = $types[$asset->type]->module;
  return module_invoke($module, 'asset_type', $op, $asset);
}