created materio personal notes feature
This commit is contained in:
parent
bd1a1de792
commit
bbeb5f01ac
@ -0,0 +1,79 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @file
|
||||||
|
* materio_personal_notes.features.field_base.inc
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implements hook_field_default_field_bases().
|
||||||
|
*/
|
||||||
|
function materio_personal_notes_field_default_field_bases() {
|
||||||
|
$field_bases = array();
|
||||||
|
|
||||||
|
// Exported field_base: 'field_personal_note'.
|
||||||
|
$field_bases['field_personal_note'] = array(
|
||||||
|
'active' => 1,
|
||||||
|
'cardinality' => 1,
|
||||||
|
'deleted' => 0,
|
||||||
|
'entity_types' => array(),
|
||||||
|
'field_name' => 'field_personal_note',
|
||||||
|
'field_permissions' => array(
|
||||||
|
'type' => 1,
|
||||||
|
),
|
||||||
|
'indexes' => array(
|
||||||
|
'format' => array(
|
||||||
|
0 => 'format',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'locked' => 0,
|
||||||
|
'module' => 'text',
|
||||||
|
'settings' => array(
|
||||||
|
'entity_translation_sync' => FALSE,
|
||||||
|
'profile2_private' => FALSE,
|
||||||
|
),
|
||||||
|
'translatable' => 0,
|
||||||
|
'type' => 'text_long',
|
||||||
|
);
|
||||||
|
|
||||||
|
// Exported field_base: 'field_target_content'.
|
||||||
|
$field_bases['field_target_content'] = array(
|
||||||
|
'active' => 1,
|
||||||
|
'cardinality' => 1,
|
||||||
|
'deleted' => 0,
|
||||||
|
'entity_types' => array(),
|
||||||
|
'field_name' => 'field_target_content',
|
||||||
|
'field_permissions' => array(
|
||||||
|
'type' => 1,
|
||||||
|
),
|
||||||
|
'indexes' => array(
|
||||||
|
'target_id' => array(
|
||||||
|
0 => 'target_id',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'locked' => 0,
|
||||||
|
'module' => 'entityreference',
|
||||||
|
'settings' => array(
|
||||||
|
'entity_translation_sync' => FALSE,
|
||||||
|
'handler' => 'base',
|
||||||
|
'handler_settings' => array(
|
||||||
|
'behaviors' => array(
|
||||||
|
'views-select-list' => array(
|
||||||
|
'status' => 0,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'sort' => array(
|
||||||
|
'type' => 'none',
|
||||||
|
),
|
||||||
|
'target_bundles' => array(
|
||||||
|
'materiau' => 'materiau',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'profile2_private' => FALSE,
|
||||||
|
'target_type' => 'node',
|
||||||
|
),
|
||||||
|
'translatable' => 0,
|
||||||
|
'type' => 'entityreference',
|
||||||
|
);
|
||||||
|
|
||||||
|
return $field_bases;
|
||||||
|
}
|
@ -0,0 +1,169 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @file
|
||||||
|
* materio_personal_notes.features.field_instance.inc
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implements hook_field_default_field_instances().
|
||||||
|
*/
|
||||||
|
function materio_personal_notes_field_default_field_instances() {
|
||||||
|
$field_instances = array();
|
||||||
|
|
||||||
|
// Exported field_instance: 'node-note-field_personal_note'.
|
||||||
|
$field_instances['node-note-field_personal_note'] = array(
|
||||||
|
'bundle' => 'note',
|
||||||
|
'default_value' => NULL,
|
||||||
|
'deleted' => 0,
|
||||||
|
'description' => '',
|
||||||
|
'display' => array(
|
||||||
|
'bookmark' => array(
|
||||||
|
'label' => 'above',
|
||||||
|
'settings' => array(),
|
||||||
|
'type' => 'hidden',
|
||||||
|
'weight' => 0,
|
||||||
|
),
|
||||||
|
'cardbig' => array(
|
||||||
|
'label' => 'above',
|
||||||
|
'settings' => array(),
|
||||||
|
'type' => 'hidden',
|
||||||
|
'weight' => 0,
|
||||||
|
),
|
||||||
|
'cardfull' => array(
|
||||||
|
'label' => 'above',
|
||||||
|
'settings' => array(),
|
||||||
|
'type' => 'hidden',
|
||||||
|
'weight' => 0,
|
||||||
|
),
|
||||||
|
'cardmedium' => array(
|
||||||
|
'label' => 'above',
|
||||||
|
'settings' => array(),
|
||||||
|
'type' => 'hidden',
|
||||||
|
'weight' => 0,
|
||||||
|
),
|
||||||
|
'cardsmall' => array(
|
||||||
|
'label' => 'above',
|
||||||
|
'settings' => array(),
|
||||||
|
'type' => 'hidden',
|
||||||
|
'weight' => 0,
|
||||||
|
),
|
||||||
|
'default' => array(
|
||||||
|
'label' => 'hidden',
|
||||||
|
'module' => 'text',
|
||||||
|
'settings' => array(),
|
||||||
|
'type' => 'text_plain',
|
||||||
|
'weight' => 0,
|
||||||
|
),
|
||||||
|
'homeblock' => array(
|
||||||
|
'label' => 'above',
|
||||||
|
'settings' => array(),
|
||||||
|
'type' => 'hidden',
|
||||||
|
'weight' => 0,
|
||||||
|
),
|
||||||
|
'teaser' => array(
|
||||||
|
'label' => 'above',
|
||||||
|
'settings' => array(),
|
||||||
|
'type' => 'hidden',
|
||||||
|
'weight' => 0,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'entity_type' => 'node',
|
||||||
|
'field_name' => 'field_personal_note',
|
||||||
|
'label' => 'Note',
|
||||||
|
'required' => 0,
|
||||||
|
'settings' => array(
|
||||||
|
'entity_translation_sync' => FALSE,
|
||||||
|
'text_processing' => 0,
|
||||||
|
'user_register_form' => FALSE,
|
||||||
|
),
|
||||||
|
'widget' => array(
|
||||||
|
'active' => 1,
|
||||||
|
'module' => 'text',
|
||||||
|
'settings' => array(
|
||||||
|
'rows' => 5,
|
||||||
|
),
|
||||||
|
'type' => 'text_textarea',
|
||||||
|
'weight' => 2,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
|
||||||
|
// Exported field_instance: 'node-note-field_target_content'.
|
||||||
|
$field_instances['node-note-field_target_content'] = array(
|
||||||
|
'bundle' => 'note',
|
||||||
|
'default_value' => NULL,
|
||||||
|
'deleted' => 0,
|
||||||
|
'description' => '',
|
||||||
|
'display' => array(
|
||||||
|
'bookmark' => array(
|
||||||
|
'label' => 'above',
|
||||||
|
'settings' => array(),
|
||||||
|
'type' => 'hidden',
|
||||||
|
'weight' => 0,
|
||||||
|
),
|
||||||
|
'cardbig' => array(
|
||||||
|
'label' => 'above',
|
||||||
|
'settings' => array(),
|
||||||
|
'type' => 'hidden',
|
||||||
|
'weight' => 0,
|
||||||
|
),
|
||||||
|
'cardfull' => array(
|
||||||
|
'label' => 'above',
|
||||||
|
'settings' => array(),
|
||||||
|
'type' => 'hidden',
|
||||||
|
'weight' => 0,
|
||||||
|
),
|
||||||
|
'cardmedium' => array(
|
||||||
|
'label' => 'above',
|
||||||
|
'settings' => array(),
|
||||||
|
'type' => 'hidden',
|
||||||
|
'weight' => 0,
|
||||||
|
),
|
||||||
|
'cardsmall' => array(
|
||||||
|
'label' => 'above',
|
||||||
|
'settings' => array(),
|
||||||
|
'type' => 'hidden',
|
||||||
|
'weight' => 0,
|
||||||
|
),
|
||||||
|
'default' => array(
|
||||||
|
'label' => 'above',
|
||||||
|
'settings' => array(),
|
||||||
|
'type' => 'hidden',
|
||||||
|
'weight' => 1,
|
||||||
|
),
|
||||||
|
'homeblock' => array(
|
||||||
|
'label' => 'above',
|
||||||
|
'settings' => array(),
|
||||||
|
'type' => 'hidden',
|
||||||
|
'weight' => 0,
|
||||||
|
),
|
||||||
|
'teaser' => array(
|
||||||
|
'label' => 'above',
|
||||||
|
'settings' => array(),
|
||||||
|
'type' => 'hidden',
|
||||||
|
'weight' => 0,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'entity_type' => 'node',
|
||||||
|
'field_name' => 'field_target_content',
|
||||||
|
'label' => 'Target content',
|
||||||
|
'required' => 1,
|
||||||
|
'settings' => array(
|
||||||
|
'entity_translation_sync' => FALSE,
|
||||||
|
'user_register_form' => FALSE,
|
||||||
|
),
|
||||||
|
'widget' => array(
|
||||||
|
'active' => 1,
|
||||||
|
'module' => 'field_extrawidgets',
|
||||||
|
'settings' => array(),
|
||||||
|
'type' => 'field_extrawidgets_hidden',
|
||||||
|
'weight' => 1,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
|
||||||
|
// Translatables
|
||||||
|
// Included for use with string extractors like potx.
|
||||||
|
t('Note');
|
||||||
|
t('Target content');
|
||||||
|
|
||||||
|
return $field_instances;
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @file
|
||||||
|
* materio_personal_notes.features.inc
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implements hook_ctools_plugin_api().
|
||||||
|
*/
|
||||||
|
function materio_personal_notes_ctools_plugin_api($module = NULL, $api = NULL) {
|
||||||
|
if ($module == "strongarm" && $api == "strongarm") {
|
||||||
|
return array("version" => "1");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implements hook_node_info().
|
||||||
|
*/
|
||||||
|
function materio_personal_notes_node_info() {
|
||||||
|
$items = array(
|
||||||
|
'note' => array(
|
||||||
|
'name' => t('Note'),
|
||||||
|
'base' => 'node_content',
|
||||||
|
'description' => t('Content type for personal (private) notes'),
|
||||||
|
'has_title' => '1',
|
||||||
|
'title_label' => t('Title'),
|
||||||
|
'help' => '',
|
||||||
|
),
|
||||||
|
);
|
||||||
|
drupal_alter('node_info', $items);
|
||||||
|
return $items;
|
||||||
|
}
|
@ -0,0 +1,119 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @file
|
||||||
|
* materio_personal_notes.features.user_permission.inc
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implements hook_user_default_permissions().
|
||||||
|
*/
|
||||||
|
function materio_personal_notes_user_default_permissions() {
|
||||||
|
$permissions = array();
|
||||||
|
|
||||||
|
// Exported permission: 'create note content'.
|
||||||
|
$permissions['create note content'] = array(
|
||||||
|
'name' => 'create note content',
|
||||||
|
'roles' => array(
|
||||||
|
'Adhérent' => 'Adhérent',
|
||||||
|
),
|
||||||
|
'module' => 'node',
|
||||||
|
);
|
||||||
|
|
||||||
|
// Exported permission: 'create own personal notes'.
|
||||||
|
$permissions['create own personal notes'] = array(
|
||||||
|
'name' => 'create own personal notes',
|
||||||
|
'roles' => array(
|
||||||
|
'Adhérent' => 'Adhérent',
|
||||||
|
'root' => 'root',
|
||||||
|
),
|
||||||
|
'module' => 'materio_personalnotes',
|
||||||
|
);
|
||||||
|
|
||||||
|
// Exported permission: 'delete any note content'.
|
||||||
|
$permissions['delete any note content'] = array(
|
||||||
|
'name' => 'delete any note content',
|
||||||
|
'roles' => array(),
|
||||||
|
'module' => 'node',
|
||||||
|
);
|
||||||
|
|
||||||
|
// Exported permission: 'delete own note content'.
|
||||||
|
$permissions['delete own note content'] = array(
|
||||||
|
'name' => 'delete own note content',
|
||||||
|
'roles' => array(),
|
||||||
|
'module' => 'node',
|
||||||
|
);
|
||||||
|
|
||||||
|
// Exported permission: 'edit any note content'.
|
||||||
|
$permissions['edit any note content'] = array(
|
||||||
|
'name' => 'edit any note content',
|
||||||
|
'roles' => array(),
|
||||||
|
'module' => 'node',
|
||||||
|
);
|
||||||
|
|
||||||
|
// Exported permission: 'edit own note content'.
|
||||||
|
$permissions['edit own note content'] = array(
|
||||||
|
'name' => 'edit own note content',
|
||||||
|
'roles' => array(
|
||||||
|
'Adhérent' => 'Adhérent',
|
||||||
|
),
|
||||||
|
'module' => 'node',
|
||||||
|
);
|
||||||
|
|
||||||
|
// Exported permission: 'enter note revision log entry'.
|
||||||
|
$permissions['enter note revision log entry'] = array(
|
||||||
|
'name' => 'enter note revision log entry',
|
||||||
|
'roles' => array(),
|
||||||
|
'module' => 'override_node_options',
|
||||||
|
);
|
||||||
|
|
||||||
|
// Exported permission: 'override note authored by option'.
|
||||||
|
$permissions['override note authored by option'] = array(
|
||||||
|
'name' => 'override note authored by option',
|
||||||
|
'roles' => array(),
|
||||||
|
'module' => 'override_node_options',
|
||||||
|
);
|
||||||
|
|
||||||
|
// Exported permission: 'override note authored on option'.
|
||||||
|
$permissions['override note authored on option'] = array(
|
||||||
|
'name' => 'override note authored on option',
|
||||||
|
'roles' => array(),
|
||||||
|
'module' => 'override_node_options',
|
||||||
|
);
|
||||||
|
|
||||||
|
// Exported permission: 'override note promote to front page option'.
|
||||||
|
$permissions['override note promote to front page option'] = array(
|
||||||
|
'name' => 'override note promote to front page option',
|
||||||
|
'roles' => array(),
|
||||||
|
'module' => 'override_node_options',
|
||||||
|
);
|
||||||
|
|
||||||
|
// Exported permission: 'override note published option'.
|
||||||
|
$permissions['override note published option'] = array(
|
||||||
|
'name' => 'override note published option',
|
||||||
|
'roles' => array(),
|
||||||
|
'module' => 'override_node_options',
|
||||||
|
);
|
||||||
|
|
||||||
|
// Exported permission: 'override note revision option'.
|
||||||
|
$permissions['override note revision option'] = array(
|
||||||
|
'name' => 'override note revision option',
|
||||||
|
'roles' => array(),
|
||||||
|
'module' => 'override_node_options',
|
||||||
|
);
|
||||||
|
|
||||||
|
// Exported permission: 'override note sticky option'.
|
||||||
|
$permissions['override note sticky option'] = array(
|
||||||
|
'name' => 'override note sticky option',
|
||||||
|
'roles' => array(),
|
||||||
|
'module' => 'override_node_options',
|
||||||
|
);
|
||||||
|
|
||||||
|
// Exported permission: 'show note title'.
|
||||||
|
$permissions['show note title'] = array(
|
||||||
|
'name' => 'show note title',
|
||||||
|
'roles' => array(),
|
||||||
|
'module' => 'materio_page_title',
|
||||||
|
);
|
||||||
|
|
||||||
|
return $permissions;
|
||||||
|
}
|
@ -0,0 +1,64 @@
|
|||||||
|
name = materio personal notes
|
||||||
|
core = 7.x
|
||||||
|
package = Materio
|
||||||
|
dependencies[] = ctools
|
||||||
|
dependencies[] = entityreference
|
||||||
|
dependencies[] = features
|
||||||
|
dependencies[] = field_extrawidgets
|
||||||
|
dependencies[] = materio_page_title
|
||||||
|
dependencies[] = materio_personalnotes
|
||||||
|
dependencies[] = metatag
|
||||||
|
dependencies[] = node
|
||||||
|
dependencies[] = override_node_options
|
||||||
|
dependencies[] = strongarm
|
||||||
|
dependencies[] = text
|
||||||
|
features[ctools][] = strongarm:strongarm:1
|
||||||
|
features[features_api][] = api:2
|
||||||
|
features[field_base][] = field_personal_note
|
||||||
|
features[field_base][] = field_target_content
|
||||||
|
features[field_instance][] = node-note-field_personal_note
|
||||||
|
features[field_instance][] = node-note-field_target_content
|
||||||
|
features[node][] = note
|
||||||
|
features[user_permission][] = create note content
|
||||||
|
features[user_permission][] = create own personal notes
|
||||||
|
features[user_permission][] = delete any note content
|
||||||
|
features[user_permission][] = delete own note content
|
||||||
|
features[user_permission][] = edit any note content
|
||||||
|
features[user_permission][] = edit own note content
|
||||||
|
features[user_permission][] = enter note revision log entry
|
||||||
|
features[user_permission][] = override note authored by option
|
||||||
|
features[user_permission][] = override note authored on option
|
||||||
|
features[user_permission][] = override note promote to front page option
|
||||||
|
features[user_permission][] = override note published option
|
||||||
|
features[user_permission][] = override note revision option
|
||||||
|
features[user_permission][] = override note sticky option
|
||||||
|
features[user_permission][] = show note title
|
||||||
|
features[variable][] = additional_settings__active_tab_note
|
||||||
|
features[variable][] = ant_note
|
||||||
|
features[variable][] = ant_pattern_note
|
||||||
|
features[variable][] = ant_php_note
|
||||||
|
features[variable][] = date_popup_authored_enabled_note
|
||||||
|
features[variable][] = date_popup_authored_format_note
|
||||||
|
features[variable][] = date_popup_authored_year_range_note
|
||||||
|
features[variable][] = diff_enable_revisions_page_node_note
|
||||||
|
features[variable][] = diff_show_preview_changes_node_note
|
||||||
|
features[variable][] = diff_view_mode_preview_node_note
|
||||||
|
features[variable][] = entity_translation_hide_translation_links_note
|
||||||
|
features[variable][] = entity_translation_node_metadata_note
|
||||||
|
features[variable][] = field_bundle_settings_node__note
|
||||||
|
features[variable][] = language_content_type_note
|
||||||
|
features[variable][] = menu_options_note
|
||||||
|
features[variable][] = menu_parent_note
|
||||||
|
features[variable][] = metatag_enable_node__note
|
||||||
|
features[variable][] = node_options_note
|
||||||
|
features[variable][] = node_preview_note
|
||||||
|
features[variable][] = node_submitted_note
|
||||||
|
features[variable][] = print_html_display_comment_note
|
||||||
|
features[variable][] = print_html_display_note
|
||||||
|
features[variable][] = print_html_display_urllist_note
|
||||||
|
features[variable][] = save_continue_note
|
||||||
|
features[variable][] = simplenews_content_type_note
|
||||||
|
features[variable][] = unique_field_comp_note
|
||||||
|
features[variable][] = unique_field_fields_note
|
||||||
|
features[variable][] = unique_field_scope_note
|
||||||
|
features[variable][] = unique_field_show_matches_note
|
@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @file
|
||||||
|
* Code for the materio personal notes feature.
|
||||||
|
*/
|
||||||
|
|
||||||
|
include_once 'materio_personal_notes.features.inc';
|
@ -0,0 +1,284 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @file
|
||||||
|
* materio_personal_notes.strongarm.inc
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implements hook_strongarm().
|
||||||
|
*/
|
||||||
|
function materio_personal_notes_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 = 'additional_settings__active_tab_note';
|
||||||
|
$strongarm->value = 'edit-unique-field';
|
||||||
|
$export['additional_settings__active_tab_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'ant_note';
|
||||||
|
$strongarm->value = '1';
|
||||||
|
$export['ant_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'ant_pattern_note';
|
||||||
|
$strongarm->value = '[current-user:uid]-[random:number]';
|
||||||
|
$export['ant_pattern_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'ant_php_note';
|
||||||
|
$strongarm->value = 0;
|
||||||
|
$export['ant_php_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'date_popup_authored_enabled_note';
|
||||||
|
$strongarm->value = 1;
|
||||||
|
$export['date_popup_authored_enabled_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'date_popup_authored_format_note';
|
||||||
|
$strongarm->value = 'm/d/Y - H:i';
|
||||||
|
$export['date_popup_authored_format_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'date_popup_authored_year_range_note';
|
||||||
|
$strongarm->value = '3';
|
||||||
|
$export['date_popup_authored_year_range_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'diff_enable_revisions_page_node_note';
|
||||||
|
$strongarm->value = 0;
|
||||||
|
$export['diff_enable_revisions_page_node_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'diff_show_preview_changes_node_note';
|
||||||
|
$strongarm->value = 0;
|
||||||
|
$export['diff_show_preview_changes_node_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'diff_view_mode_preview_node_note';
|
||||||
|
$strongarm->value = 'full';
|
||||||
|
$export['diff_view_mode_preview_node_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'entity_translation_hide_translation_links_note';
|
||||||
|
$strongarm->value = 0;
|
||||||
|
$export['entity_translation_hide_translation_links_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'entity_translation_node_metadata_note';
|
||||||
|
$strongarm->value = '0';
|
||||||
|
$export['entity_translation_node_metadata_note'] = $strongarm;
|
||||||
|
|
||||||
|
$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__note';
|
||||||
|
$strongarm->value = array(
|
||||||
|
'view_modes' => array(
|
||||||
|
'teaser' => array(
|
||||||
|
'custom_settings' => TRUE,
|
||||||
|
),
|
||||||
|
'homeblock' => array(
|
||||||
|
'custom_settings' => TRUE,
|
||||||
|
),
|
||||||
|
'bookmark' => array(
|
||||||
|
'custom_settings' => TRUE,
|
||||||
|
),
|
||||||
|
'cardsmall' => array(
|
||||||
|
'custom_settings' => TRUE,
|
||||||
|
),
|
||||||
|
'cardmedium' => array(
|
||||||
|
'custom_settings' => TRUE,
|
||||||
|
),
|
||||||
|
'cardbig' => array(
|
||||||
|
'custom_settings' => TRUE,
|
||||||
|
),
|
||||||
|
'cardfull' => array(
|
||||||
|
'custom_settings' => TRUE,
|
||||||
|
),
|
||||||
|
'full' => array(
|
||||||
|
'custom_settings' => FALSE,
|
||||||
|
),
|
||||||
|
'rss' => array(
|
||||||
|
'custom_settings' => FALSE,
|
||||||
|
),
|
||||||
|
'diff_standard' => array(
|
||||||
|
'custom_settings' => FALSE,
|
||||||
|
),
|
||||||
|
'print' => array(
|
||||||
|
'custom_settings' => FALSE,
|
||||||
|
),
|
||||||
|
'email_plain' => array(
|
||||||
|
'custom_settings' => FALSE,
|
||||||
|
),
|
||||||
|
'email_html' => array(
|
||||||
|
'custom_settings' => FALSE,
|
||||||
|
),
|
||||||
|
'email_textalt' => array(
|
||||||
|
'custom_settings' => FALSE,
|
||||||
|
),
|
||||||
|
'token' => array(
|
||||||
|
'custom_settings' => FALSE,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'extra_fields' => array(
|
||||||
|
'form' => array(
|
||||||
|
'metatags' => array(
|
||||||
|
'weight' => '5',
|
||||||
|
),
|
||||||
|
'title' => array(
|
||||||
|
'weight' => '0',
|
||||||
|
),
|
||||||
|
'path' => array(
|
||||||
|
'weight' => '3',
|
||||||
|
),
|
||||||
|
'redirect' => array(
|
||||||
|
'weight' => '4',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'display' => array(),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
$export['field_bundle_settings_node__note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'language_content_type_note';
|
||||||
|
$strongarm->value = '0';
|
||||||
|
$export['language_content_type_note'] = $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_note';
|
||||||
|
$strongarm->value = array();
|
||||||
|
$export['menu_options_note'] = $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_note';
|
||||||
|
$strongarm->value = 'main-menu:0';
|
||||||
|
$export['menu_parent_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'metatag_enable_node__note';
|
||||||
|
$strongarm->value = TRUE;
|
||||||
|
$export['metatag_enable_node__note'] = $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_note';
|
||||||
|
$strongarm->value = array(
|
||||||
|
0 => 'status',
|
||||||
|
);
|
||||||
|
$export['node_options_note'] = $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_preview_note';
|
||||||
|
$strongarm->value = '0';
|
||||||
|
$export['node_preview_note'] = $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_note';
|
||||||
|
$strongarm->value = 0;
|
||||||
|
$export['node_submitted_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'print_html_display_comment_note';
|
||||||
|
$strongarm->value = 0;
|
||||||
|
$export['print_html_display_comment_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'print_html_display_note';
|
||||||
|
$strongarm->value = 0;
|
||||||
|
$export['print_html_display_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'print_html_display_urllist_note';
|
||||||
|
$strongarm->value = 0;
|
||||||
|
$export['print_html_display_urllist_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'save_continue_note';
|
||||||
|
$strongarm->value = 'Enregistrer et ajouter les champs';
|
||||||
|
$export['save_continue_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'simplenews_content_type_note';
|
||||||
|
$strongarm->value = 0;
|
||||||
|
$export['simplenews_content_type_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'unique_field_comp_note';
|
||||||
|
$strongarm->value = 'each';
|
||||||
|
$export['unique_field_comp_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'unique_field_fields_note';
|
||||||
|
$strongarm->value = array();
|
||||||
|
$export['unique_field_fields_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'unique_field_scope_note';
|
||||||
|
$strongarm->value = 'type';
|
||||||
|
$export['unique_field_scope_note'] = $strongarm;
|
||||||
|
|
||||||
|
$strongarm = new stdClass();
|
||||||
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||||
|
$strongarm->api_version = 1;
|
||||||
|
$strongarm->name = 'unique_field_show_matches_note';
|
||||||
|
$strongarm->value = array();
|
||||||
|
$export['unique_field_show_matches_note'] = $strongarm;
|
||||||
|
|
||||||
|
return $export;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user