You are here

function api_tokens_page_format_description in API Tokens 7

Renders description cell.

1 call to api_tokens_page_format_description()
api_tokens_page_build_row in includes/api_tokens.admin.inc
Builds token list table row.

File

includes/api_tokens.admin.inc, line 103
Administrative interface for the API Tokens module.

Code

function api_tokens_page_format_description($token) {
  return $token['description'] ? $token['description'] : '<small><i>' . t('No description.') . '</i></small>';
}