You are here

function theme_cer_label in Corresponding Entity References 7

Same name and namespace in other branches
  1. 7.2 cer.module \theme_cer_label()
1 theme call to theme_cer_label()
cer_settings_form in ./cer.admin.inc
The settings form.

File

./cer.module, line 66
Module file providing the "corresponding entity reference" module main functions.

Code

function theme_cer_label($variables) {
  $key = explode(' ', $variables['key']);
  return t('Field instance:"!field1" on Entity type:"!entity1" - Bundle type:"!bundle1" <b>Corresponds with</b> Field instance:"!field2" on Entity type:"!entity2" Bundle type:"!bundle2"', array(
    '!entity1' => $key[0],
    '!bundle1' => $key[1],
    '!field1' => $key[2],
    '!entity2' => $key[3],
    '!bundle2' => $key[4],
    '!field2' => $key[5],
  ));
}