function field_token_value_field_token_value_wrapper_info in Field Token Value 7
Implements hook_field_token_value_wrapper_info().
File
- ./
field_token_value.module, line 284 - Provides a field type allowing the value to be set using tokens.
Code
function field_token_value_field_token_value_wrapper_info() {
return array(
'blockquote' => array(
'title' => t('blockquote — A section quoted from another source'),
'summary' => t('The field output will be wrapped in a blockquote tag.'),
'tag' => 'blockquote',
),
'div' => array(
'title' => t('div — Generic flow container'),
'summary' => t('The field output will be wrapped in a div tag.'),
'tag' => 'div',
),
'em' => array(
'title' => t('em — Stress emphasis'),
'summary' => t('The field output will be wrapped in a em tag.'),
'tag' => 'div',
),
'h1' => array(
'title' => t('h1 — First-level section heading'),
'summary' => t('The field output will be wrapped in a h1 tag.'),
'tag' => 'h1',
),
'h2' => array(
'title' => t('h2 — Second-level section heading'),
'summary' => t('The field output will be wrapped in a h2 tag.'),
'tag' => 'h2',
),
'h3' => array(
'title' => t('h3 — Third-level section heading'),
'summary' => t('The field output will be wrapped in a h3 tag.'),
'tag' => 'h3',
),
'h4' => array(
'title' => t('h4 — Fourth-level section heading'),
'summary' => t('The field output will be wrapped in a h4 tag.'),
'tag' => 'h4',
),
'h5' => array(
'title' => t('h5 — Fifth-level section heading'),
'summary' => t('The field output will be wrapped in a h5 tag.'),
'tag' => 'h5',
),
'h6' => array(
'title' => t('h6 — Sixth-level section heading'),
'summary' => t('The field output will be wrapped in a h6 tag.'),
'tag' => 'h6',
),
'i' => array(
'title' => t('i — Italic'),
'summary' => t('The field output will be wrapped in a i tag.'),
'tag' => 'i',
),
'p' => array(
'title' => t('p — Basic paragraph'),
'summary' => t('The field output will be wrapped in a p tag.'),
'tag' => 'p',
),
'pre' => array(
'title' => t('pre — Block of preformatted text'),
'summary' => t('The field output will be wrapped in a pre tag.'),
'tag' => 'pre',
),
's' => array(
'title' => t('s — Inaccurate text'),
'summary' => t('The field output will be wrapped in a s tag.'),
'tag' => 's',
),
'section' => array(
'title' => t('section — Generic document or application section'),
'summary' => t('The field output will be wrapped in a section tag.'),
'tag' => 'section',
),
'small' => array(
'title' => t('small — Side comment'),
'summary' => t('The field output will be wrapped in a small tag.'),
'tag' => 'small',
),
'span' => array(
'title' => t('span — Generic phrasing container'),
'summary' => t('The field output will be wrapped in a span tag.'),
'tag' => 'span',
),
'strong' => array(
'title' => t('strong — Importance'),
'summary' => t('The field output will be wrapped in a strong tag.'),
'tag' => 'strong',
),
'sub' => array(
'title' => t('sub — Subscript'),
'summary' => t('The field output will be wrapped in a sub tag.'),
'tag' => 'sub',
),
'sup' => array(
'title' => t('sup — Superscript'),
'summary' => t('The field output will be wrapped in a sup tag.'),
'tag' => 'sup',
),
);
}