You are here

function picture_default_breakpoints in Picture 7.2

Implements hook_default_breakpoints().

File

./picture.module, line 2332
Picture formatter.

Code

function picture_default_breakpoints() {
  $export = array();
  $breakpoint = new stdClass();
  $breakpoint->disabled = FALSE;

  /* Edit this to true to make a default breakpoint disabled initially */
  $breakpoint->api_version = 1;
  $breakpoint->machine_name = BREAKPOINTS_SOURCE_TYPE_MODULE . '.picture.empty_srcset';
  $breakpoint->name = 'Empty srcset';
  $breakpoint->breakpoint = '';
  $breakpoint->source = 'picture';
  $breakpoint->source_type = BREAKPOINTS_SOURCE_TYPE_MODULE;
  $breakpoint->status = 1;
  $breakpoint->weight = 0;
  $breakpoint->multipliers = array(
    '1x' => '1x',
  );
  $export[BREAKPOINTS_SOURCE_TYPE_MODULE . '.picture.empty_srcset'] = $breakpoint;
  return $export;
}