<?php

/**
 * @file
 *
 */

function incubator_gallery_metatag_config_default() {
  $config = new stdClass();
  $config->disabled = FALSE; /* Edit this to true to make a default config disabled initially */
  $config->api_version = 1;
  $config->instance = 'node:gallery';
  $config->config = array(
    'image_src' => array(
      'value' => '[node:field_gallery_images:first]',
    ),
    'og:image' => array(
      'value' => '[node:field_gallery_images:first]',
    ),
    'twitter:card' => array(
      'value' => 'gallery',
    ),
    'twitter:image' => array(
      'value' => '',
    ),
    'twitter:image0' => array(
      'value' => '[node:field_gallery_images:value:0]',
    ),
    'twitter:image1' => array(
      'value' => '[node:field_gallery_images:value:1]',
    ),
    'twitter:image2' => array(
      'value' => '[node:field_gallery_images:value:2]',
    ),
    'twitter:image3' => array(
      'value' => '[node:field_gallery_images:value:3]',
    ),
  );
  $configs[$config->instance] = $config;
  return $configs;
}
