You are here

function asset_search_asset_search in Asset 6

Same name and namespace in other branches
  1. 5.2 contrib/asset_search/asset_search.module \asset_search_asset_search()

Implementation of hook_asset_search().

File

contrib/asset_search/asset_search.module, line 256

Code

function asset_search_asset_search($op = 'info', $type = NULL, $value = NULL) {
  switch ($op) {
    case 'info':
      $types['rss'] = array(
        'name' => t('RSS Feed'),
        'module' => 'asset_search',
        'url' => '%value',
      );
      return $types;
    case 'url':
      return $value;
  }
}