You are here

function views_plugin_style_kml::init in KML 7

Same name and namespace in other branches
  1. 6.2 views/views_plugin_style_kml.inc \views_plugin_style_kml::init()

Initialize plugin.

Set feed image for shared rendering later.

Overrides views_plugin_style::init

File

views/views_plugin_style_kml.inc, line 14
Extending the view_plugin_style class to provide a kml view style.

Class

views_plugin_style_kml
@file Extending the view_plugin_style class to provide a kml view style.

Code

function init(&$view, &$display, $options = NULL) {
  parent::init($view, $display, $options = NULL);
  $this->feed_image = drupal_get_path('module', 'kml') . '/images/kml.png';
}