You are here

opigno_features_pathauto.features.defaultconfig.inc in Opigno LMS 7

File

modules/features/opigno_features_pathauto/opigno_features_pathauto.features.defaultconfig.inc
View source
<?php

/**
 * @file
 * opigno_features_pathauto.features.defaultconfig.inc
 */

/**
 * Implements hook_defaultconfig_features().
 */
function opigno_features_pathauto_defaultconfig_features() {
  return array(
    'opigno_features_pathauto' => array(
      'strongarm' => 'strongarm',
    ),
  );
}

/**
 * Implements hook_defaultconfig_strongarm().
 */
function opigno_features_pathauto_defaultconfig_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 = 'pathauto_blog_pattern';
  $strongarm->value = 'blogs/[user:name]';
  $export['pathauto_blog_pattern'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

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

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

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

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

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

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

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'pathauto_node_calendar_event_pattern';
  $strongarm->value = 'event/[node:opigno-calendar-date:value]/[node:title]';
  $export['pathauto_node_calendar_event_pattern'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

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

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

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

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'pathauto_node_forum_pattern';
  $strongarm->value = 'forum/[node:taxonomy-forums:name]/topic/[node:nid]/[node:title]';
  $export['pathauto_node_forum_pattern'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'pathauto_node_long_answer_pattern';
  $strongarm->value = 'quiz/question/[node:nid]/[node:title]';
  $export['pathauto_node_long_answer_pattern'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'pathauto_node_matching_pattern';
  $strongarm->value = 'quiz/question/[node:nid]/[node:title]';
  $export['pathauto_node_matching_pattern'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'pathauto_node_multichoice_pattern';
  $strongarm->value = 'quiz/question/[node:nid]/[node:title]';
  $export['pathauto_node_multichoice_pattern'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

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

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'pathauto_node_pattern';
  $strongarm->value = '[node:menu-link:parents:join-path]/[node:title]';
  $export['pathauto_node_pattern'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

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

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'pathauto_node_quiz_ddlines_pattern';
  $strongarm->value = 'quiz/question/[node:nid]/[node:title]';
  $export['pathauto_node_quiz_ddlines_pattern'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'pathauto_node_quiz_directions_pattern';
  $strongarm->value = 'quiz/question/[node:nid]/[node:title]';
  $export['pathauto_node_quiz_directions_pattern'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

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

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'pathauto_node_scale_pattern';
  $strongarm->value = 'quiz/question/[node:nid]/[node:title]';
  $export['pathauto_node_scale_pattern'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'pathauto_node_short_answer_pattern';
  $strongarm->value = 'quiz/question/[node:nid]/[node:title]';
  $export['pathauto_node_short_answer_pattern'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

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

  /* Edit this to true to make a default strongarm disabled initially */
  $strongarm->api_version = 1;
  $strongarm->name = 'pathauto_node_truefalse_pattern';
  $strongarm->value = 'quiz/question/[node:nid]/[node:title]';
  $export['pathauto_node_truefalse_pattern'] = $strongarm;
  $strongarm = new stdClass();
  $strongarm->disabled = FALSE;

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

Functions

Namesort descending Description
opigno_features_pathauto_defaultconfig_features Implements hook_defaultconfig_features().
opigno_features_pathauto_defaultconfig_strongarm Implements hook_defaultconfig_strongarm().