function sheetnode_phpexcel_plugin_style::attach_to in Sheetnode 6
Same name and namespace in other branches
- 5 modules/sheetnode_phpexcel/sheetnode_phpexcel_plugin_style.inc \sheetnode_phpexcel_plugin_style::attach_to()
- 7.2 modules/sheetnode_phpexcel/sheetnode_phpexcel_plugin_style.inc \sheetnode_phpexcel_plugin_style::attach_to()
- 7 modules/sheetnode_phpexcel/sheetnode_phpexcel_plugin_style.inc \sheetnode_phpexcel_plugin_style::attach_to()
Overrides sheetnode_plugin_style::attach_to
File
- modules/
sheetnode_phpexcel/ sheetnode_phpexcel_plugin_style.inc, line 27
Class
Code
function attach_to($display_id, $path, $title) {
$plugins = sheetnode_phpexcel_get_plugins();
$this->feed_image = drupal_get_path('module', 'sheetnode_phpexcel') . "/images/{$this->options['format']}.png";
if (!is_file($this->feed_image)) {
$this->feed_image = drupal_get_path('module', 'sheetnode_phpexcel') . "/images/spreadsheet.png";
}
parent::attach_to($display_id, $path, $title);
}