You are here

commons_like.strongarm.inc in Drupal Commons 7.3

File

modules/commons/commons_like/commons_like.strongarm.inc
View source
<?php

/**
 * @file
 * commons_like.strongarm.inc
 */

/**
 * Implements hook_strongarm().
 */
function commons_like_strongarm() {
  $export = array();
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'field_bundle_settings_message__commons_like_user_likes_node';
  $strongarm->value = array(
    'view_modes' => array(),
    'extra_fields' => array(
      'form' => array(),
      'display' => array(
        'message__message_text__0' => array(
          'message_notify_email_subject' => array(
            'visible' => TRUE,
            'weight' => 0,
          ),
          'message_notify_email_body' => array(
            'visible' => FALSE,
            'weight' => 0,
          ),
        ),
        'message__message_text__1' => array(
          'message_notify_email_subject' => array(
            'visible' => FALSE,
            'weight' => 0,
          ),
          'message_notify_email_body' => array(
            'visible' => TRUE,
            'weight' => 0,
          ),
        ),
      ),
    ),
  );
  $export['field_bundle_settings_message__commons_like_user_likes_node'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'rate_widgets';
  $strongarm->value = array(
    1 => (object) array(
      'name' => 'commons_like',
      'tag' => 'commons_like',
      'title' => 'Like',
      'node_types' => array(),
      'comment_types' => array(),
      'options' => array(
        0 => array(
          0 => 1,
          1 => 'like',
        ),
      ),
      'template' => 'commons_like',
      'node_display' => '2',
      'teaser_display' => FALSE,
      'comment_display' => '2',
      'node_display_mode' => '1',
      'teaser_display_mode' => '1',
      'comment_display_mode' => '1',
      'roles' => array(
        2 => '2',
        1 => 0,
      ),
      'allow_voting_by_author' => 0,
      'noperm_behaviour' => '3',
      'displayed' => '2',
      'displayed_just_voted' => '1',
      'description' => '',
      'description_in_compact' => TRUE,
      'delete_vote_on_second_click' => '1',
      'value_type' => 'points',
      'theme' => 'rate_template_commons_like',
      'css' => 'profiles/commons/modules/contrib/commons_like/commons-like.css',
      'translate' => TRUE,
      'use_source_translation' => TRUE,
    ),
  );
  $export['rate_widgets'] = $strongarm;
  return $export;
}

Functions

Namesort descending Description
commons_like_strongarm Implements hook_strongarm().