You are here

function hook_date_ical_fields_html_alter in Date iCal 7.2

Alter the HTML of an event's text fields, before it gets converted to plaintext for output in an iCal feed. This hook is only used by the iCal Fields views row plugin.

Parameters

$text_fields: A reference to an associative array with the following keys and values:

  • 'description': The description field string.
  • 'summary': The title field string
  • 'location': The location field string.

$view: The view object that is being executed to render the iCal feed.

$context: An associative array of context, with the following keys and values:

  • 'row': The single query result row that is being converted into an iCal VEVENT.
  • 'row_index': The index into the full query results for this row.
  • 'language': The language code that indicates which translation of field data should be used.
1 invocation of hook_date_ical_fields_html_alter()
date_ical_plugin_row_ical_fields::render in includes/date_ical_plugin_row_ical_fields.inc
Returns an Event array based on the query result from the view whose index is specified in the (hidden) second parameter of this function.

File

./date_ical.api.php, line 44

Code

function hook_date_ical_fields_html_alter(&$text_fields, $view, $context) {
}