function views_handler_field_field::document_self_tokens

Overrides views_handler_field::document_self_tokens

File

modules/field/views_handler_field_field.inc, line 930

Class

views_handler_field_field
A field that displays fieldapi fields.

Code

public function document_self_tokens(&$tokens) {
    $field = $this->field_info;
    foreach ($field['columns'] as $id => $column) {
        $tokens['[' . $this->options['id'] . '-' . $id . ']'] = t('Raw @column', array(
            '@column' => $id,
        ));
    }
}