function views_handler_field::add_self_tokens

cis7 views_handler_field.inc views_handler_field::add_self_tokens(&$tokens, $item)
cle7 views_handler_field.inc views_handler_field::add_self_tokens(&$tokens, $item)
elmsmedia7 views_handler_field.inc views_handler_field::add_self_tokens(&$tokens, $item)
icor7 views_handler_field.inc views_handler_field::add_self_tokens(&$tokens, $item)
meedjum_blog7 views_handler_field.inc views_handler_field::add_self_tokens(&$tokens, $item)
mooc7 views_handler_field.inc views_handler_field::add_self_tokens(&$tokens, $item)

Add any special tokens this field might use for itself.

This method is intended to be overridden by items that generate fields as a list. For example, the field that displays all terms on a node might have tokens for the tid and the term.

By convention, tokens should follow the format of [token-subtoken] where token is the field ID and subtoken is the field. If the field ID is terms, then the tokens might be [terms-tid] and [terms-name].

1 call to views_handler_field::add_self_tokens()
views_handler_field::get_render_tokens in sites/all/modules/ulmus/views/handlers/views_handler_field.inc
Get the 'render' tokens to use for advanced rendering.
6 methods override views_handler_field::add_self_tokens()
og_handler_field_group_permissions::add_self_tokens in sites/all/modules/ulmus/og/includes/views/handlers/og_handler_field_group_permissions.inc
Add any special tokens this field might use for itself.
og_handler_field_user_roles::add_self_tokens in sites/all/modules/ulmus/og/includes/views/handlers/og_handler_field_user_roles.inc
Add any special tokens this field might use for itself.
views_handler_field_field::add_self_tokens in sites/all/modules/ulmus/views/modules/field/views_handler_field_field.inc
Add any special tokens this field might use for itself.
views_handler_field_profile_list::add_self_tokens in sites/all/modules/ulmus/views/modules/profile/views_handler_field_profile_list.inc
Add any special tokens this field might use for itself.
views_handler_field_term_node_tid::add_self_tokens in sites/all/modules/ulmus/views/modules/taxonomy/views_handler_field_term_node_tid.inc
Add any special tokens this field might use for itself.

... See full list

File

sites/all/modules/ulmus/views/handlers/views_handler_field.inc, line 1496
@todo.

Class

views_handler_field
Base field handler that has no options and renders an unformatted field.

Code

function add_self_tokens(&$tokens, $item) {
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.