You are here

function iframe_token_list in Iframe 6

File

./iframe.module, line 691
Defines simple iframe field types. based on the cck-module "link" by quicksketch MODULE-Funtions

Code

function iframe_token_list($type = 'all') {
  dmsg(3, 'func iframe_token_list');
  if ($type == 'field' || $type == 'all') {
    $tokens = array();
    $tokens['iframe']['url'] = t("iframe URL");
    $tokens['iframe']['title'] = t("iframe title");
    $tokens['iframe']['view'] = t("Formatted html iframe");
    return $tokens;
  }
}