You are here

function tp in Coder 7.2

Same name and namespace in other branches
  1. 7 coder_upgrade/coder_upgrade.inc \tp()

Passes a string through t() and wraps the result in html entity <p>.

1 call to tp()
_coder_upgrade_help in coder_upgrade/includes/help.inc
Implements hook_help().

File

coder_upgrade/coder_upgrade.inc, line 36
Provides constants and utility functions.

Code

function tp($string, $args = array()) {
  return '<p>' . t($string, $args) . '</p>';
}