You are here

protected function field_timer_jquery_countdown_js_base::loadJSandCSS in Field Timer 7.2

@inheritdoc

Overrides field_timer_formatter_js_base::loadJSandCSS

4 calls to field_timer_jquery_countdown_js_base::loadJSandCSS()
field_timer_jquery_countdown_base::renderItems in includes/field_timer_jquery_countdown.inc
@inheritdoc
field_timer_jquery_countdown_date_field_base::loadJSandCSS in includes/field_timer_jquery_countdown.inc
@inheritdoc
field_timer_jquery_countdown_field_timer::loadJSandCSS in includes/field_timer_jquery_countdown.inc
@inheritdoc
field_timer_jquery_countdown_led_base::loadJSandCSS in includes/field_timer_jquery_countdown_led.inc
@inheritdoc
3 methods override field_timer_jquery_countdown_js_base::loadJSandCSS()
field_timer_jquery_countdown_date_field_base::loadJSandCSS in includes/field_timer_jquery_countdown.inc
@inheritdoc
field_timer_jquery_countdown_field_timer::loadJSandCSS in includes/field_timer_jquery_countdown.inc
@inheritdoc
field_timer_jquery_countdown_led_base::loadJSandCSS in includes/field_timer_jquery_countdown_led.inc
@inheritdoc

File

includes/field_timer_base.inc, line 200
Contains base help classes to perform field formatter related actions.

Class

field_timer_jquery_countdown_js_base
Base class for jquery_countdown formatters.

Code

protected function loadJSandCSS($entity_type, $entity, $field, $instance, $langcode, $items, $display) {
  parent::loadJSandCSS($entity_type, $entity, $field, $instance, $langcode, $items, $display);
  drupal_add_css(drupal_get_path('module', 'field_timer') . '/css/field_timer.css', 'file');
}