You are here

opigno_features_field_groups.strongarm.inc in Opigno LMS 7

File

modules/features/opigno_features_field_groups/opigno_features_field_groups.strongarm.inc
View source
<?php

/**
 * @file
 * opigno_features_field_groups.strongarm.inc
 */

/**
 * Implements hook_strongarm().
 */
function opigno_features_field_groups_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_node__course';
  $strongarm->value = array(
    'view_modes' => array(
      'teaser' => array(
        'custom_settings' => TRUE,
      ),
      'full' => array(
        'custom_settings' => FALSE,
      ),
      'rss' => array(
        'custom_settings' => FALSE,
      ),
      'search_index' => array(
        'custom_settings' => FALSE,
      ),
      'search_result' => array(
        'custom_settings' => FALSE,
      ),
      'print' => array(
        'custom_settings' => FALSE,
      ),
      'token' => array(
        'custom_settings' => FALSE,
      ),
    ),
    'extra_fields' => array(
      'form' => array(
        'certificate' => array(
          'weight' => '6',
        ),
        'title' => array(
          'weight' => '-5',
        ),
        'path' => array(
          'weight' => '30',
        ),
      ),
      'display' => array(),
    ),
  );
  $export['field_bundle_settings_node__course'] = $strongarm;
  return $export;
}

Functions

Namesort descending Description
opigno_features_field_groups_strongarm Implements hook_strongarm().