You are here

function prod_check_link_array in Production check & Production monitor 6

Same name and namespace in other branches
  1. 7 prod_check.module \prod_check_link_array()

Helper function to generate link array to pass to the t() function

24 calls to prod_check_link_array()
prod_check_help in ./prod_check.module
Implementation of hook_help().
prod_check_requirements in ./prod_check.install
Implementation of hook_requirements().
prod_check_settings_form in includes/prod_check.admin.inc
Build settings form.
_prod_check_anonymous_rights in ./prod_check.module
_prod_check_apc_opc in ./prod_check.module

... See full list

File

./prod_check.module, line 507

Code

function prod_check_link_array($title, $path) {
  $options = array(
    'attributes' => array(
      'title' => t($title),
    ),
    'query' => _prod_check_get_destination(),
  );
  return array(
    '!link' => '<em>' . l(t($title), $path, $options) . '</em>',
  );
}