You are here

function lazy_update_7104 in Lazy-load 7

New configuration option for using browser native loading attribute.

File

./lazy.install, line 219
Install, update, and uninstall functions for the Lazy-load module.

Code

function lazy_update_7104() {
  $defaults = variable_get('lazy_filter_defaults');
  $defaults['lazy_prefer_native'] = FALSE;
  variable_set('lazy_filter_defaults', $defaults);
  variable_set('lazy_prefer_native', $defaults['lazy_prefer_native']);
}