Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
Field handler to provide custom displays by using one of specified input formats (i.e. Filtered HTML, PHP code, Smarty code) with ability to access value of current field, all arguments values, all rows values, all fields values (of current row), rendered output of previous fields (of current row) and current row index from specified code.
Variables available in specified code (for PHP code, Smarty code, and other that support use of variables):
- $args - Indexed array. Values are arguments values.
- $field - Scalar. Value of current field.
- $row - Object. Fields are view fields names. Values are values of current row fields.
- $rows - Indexed array. Values are objects like $row.
- $output - Object. Fields are view fields names. Values are rendered values (HTML code) of current row fields. Contains fields only previous to current.
- $field_name - Name of current field.
- $row_index - Index of current row. // Only if http://drupal.org/node/430068#comment-1690684 patch is applied
Project information
- Module categories: Content Display, Content Editing Experience
- 9 sites report using this module
- By liquixis on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.