You are here

function commerce_backoffice_views_pre_render in Commerce Backoffice 7

Implement hook_views_pre_render().

File

./commerce_backoffice.module, line 42

Code

function commerce_backoffice_views_pre_render(&$view) {
  if (strpos($view->name, 'commerce_backoffice_') !== FALSE) {
    drupal_add_css(drupal_get_path('module', 'commerce_backoffice') . '/theme/commerce-backoffice.css');
  }
}