You are here

function hook_date_ical_html_alter in Date iCal 7.2

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

Parameters

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

  • 'description': The rendered HTML of the iCal view mode of the entity.
  • 'summary': The title of the entity.

$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:

  • 'entity_type': The type of entity being rendered, 'node', 'user' etc.
  • 'entity': The fully loaded entity being rendered.
  • 'language': The language code that indicates which translation of field data should be used.
1 invocation of hook_date_ical_html_alter()
date_ical_plugin_row_ical_entity::render in includes/date_ical_plugin_row_ical_entity.inc
Render a row object. This usually passes through to a theme template of some form, but not always.

File

./date_ical.api.php, line 21

Code

function hook_date_ical_html_alter(&$data, $view, $context) {
}