You are here

function prod_check_ok_title in Production check & Production monitor 7

Same name and namespace in other branches
  1. 6 prod_check.module \prod_check_ok_title()

Helper function to generate generic 'settings OK' description.

19 calls to prod_check_ok_title()
_prod_check_block_cache in ./prod_check.module
_prod_check_boost in ./prod_check.module
_prod_check_contact in ./prod_check.module
_prod_check_error_reporting in ./prod_check.module
_prod_check_googleanalytics in ./prod_check.module

... See full list

File

./prod_check.module, line 538

Code

function prod_check_ok_title($title, $path, $text = 'Your !link settings are OK for production use.') {
  return t($text, array(
    '!link' => '<em>' . l(t($title), $path, array(
      'attributes' => array(
        'title' => t($title),
      ),
      'query' => drupal_get_destination(),
    )) . '</em>',
  ));
}