You are here

example_rule_promotion_syncronization.strongarm.inc in Rules Bonus Pack 7

File

example features/promotion_sync/example_rule_promotion_syncronization.strongarm.inc
View source
<?php

/**
 * @file
 * example_rule_promotion_syncronization.strongarm.inc
 */

/**
 * Implements hook_strongarm().
 */
function example_rule_promotion_syncronization_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 = 'comment_anonymous_article_promotion';
  $strongarm->value = 0;
  $export['comment_anonymous_article_promotion'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'comment_article_promotion';
  $strongarm->value = '1';
  $export['comment_article_promotion'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'comment_default_mode_article_promotion';
  $strongarm->value = 1;
  $export['comment_default_mode_article_promotion'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'comment_default_per_page_article_promotion';
  $strongarm->value = '50';
  $export['comment_default_per_page_article_promotion'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'comment_form_location_article_promotion';
  $strongarm->value = 1;
  $export['comment_form_location_article_promotion'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'comment_preview_article_promotion';
  $strongarm->value = '1';
  $export['comment_preview_article_promotion'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'comment_subject_field_article_promotion';
  $strongarm->value = 1;
  $export['comment_subject_field_article_promotion'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'menu_options_article_promotion';
  $strongarm->value = array(
    0 => 'main-menu',
  );
  $export['menu_options_article_promotion'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'menu_parent_article_promotion';
  $strongarm->value = 'main-menu:0';
  $export['menu_parent_article_promotion'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'node_options_article_promotion';
  $strongarm->value = array(
    0 => 'status',
    1 => 'promote',
  );
  $export['node_options_article_promotion'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'node_submitted_article_promotion';
  $strongarm->value = 1;
  $export['node_submitted_article_promotion'] = $strongarm;
  return $export;
}

Functions

Namesort descending Description
example_rule_promotion_syncronization_strongarm Implements hook_strongarm().