View source
<?php
function panopoly_widgets_defaultconfig_features() {
return array(
'panopoly_widgets' => array(
'strongarm' => 'strongarm',
'user_default_permissions' => 'user_default_permissions',
),
);
}
function panopoly_widgets_defaultconfig_strongarm() {
$export = array();
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
$strongarm->api_version = 1;
$strongarm->name = 'media_wysiwyg_alignment';
$strongarm->value = 0;
$export['media_wysiwyg_alignment'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
$strongarm->api_version = 1;
$strongarm->name = 'media_wysiwyg_default_render';
$strongarm->value = 'field_attach';
$export['media_wysiwyg_default_render'] = $strongarm;
return $export;
}
function panopoly_widgets_defaultconfig_user_default_permissions() {
$permissions = array();
$permissions['access media browser'] = array(
'name' => 'access media browser',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'media',
);
$permissions['add media from remote sources'] = array(
'name' => 'add media from remote sources',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'media_internet',
);
$permissions['create fieldable basic_file'] = array(
'name' => 'create fieldable basic_file',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['create fieldable image'] = array(
'name' => 'create fieldable image',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['create fieldable map'] = array(
'name' => 'create fieldable map',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['create fieldable quick_links'] = array(
'name' => 'create fieldable quick_links',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['create fieldable spotlight'] = array(
'name' => 'create fieldable spotlight',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['create fieldable table'] = array(
'name' => 'create fieldable table',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['create fieldable text'] = array(
'name' => 'create fieldable text',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['create fieldable video'] = array(
'name' => 'create fieldable video',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['create files'] = array(
'name' => 'create files',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'file_entity',
);
$permissions['delete any audio files'] = array(
'name' => 'delete any audio files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['delete any document files'] = array(
'name' => 'delete any document files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['delete any image files'] = array(
'name' => 'delete any image files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['delete any video files'] = array(
'name' => 'delete any video files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['delete fieldable basic_file'] = array(
'name' => 'delete fieldable basic_file',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['delete fieldable image'] = array(
'name' => 'delete fieldable image',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['delete fieldable map'] = array(
'name' => 'delete fieldable map',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['delete fieldable quick_links'] = array(
'name' => 'delete fieldable quick_links',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['delete fieldable spotlight'] = array(
'name' => 'delete fieldable spotlight',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['delete fieldable table'] = array(
'name' => 'delete fieldable table',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['delete fieldable text'] = array(
'name' => 'delete fieldable text',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['delete fieldable video'] = array(
'name' => 'delete fieldable video',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['delete own audio files'] = array(
'name' => 'delete own audio files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['delete own document files'] = array(
'name' => 'delete own document files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['delete own image files'] = array(
'name' => 'delete own image files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['delete own video files'] = array(
'name' => 'delete own video files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['download any audio files'] = array(
'name' => 'download any audio files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['download any document files'] = array(
'name' => 'download any document files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['download any image files'] = array(
'name' => 'download any image files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['download any video files'] = array(
'name' => 'download any video files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['download own audio files'] = array(
'name' => 'download own audio files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['download own document files'] = array(
'name' => 'download own document files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['download own image files'] = array(
'name' => 'download own image files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['download own video files'] = array(
'name' => 'download own video files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['edit any audio files'] = array(
'name' => 'edit any audio files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['edit any document files'] = array(
'name' => 'edit any document files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['edit any image files'] = array(
'name' => 'edit any image files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['edit any video files'] = array(
'name' => 'edit any video files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['edit fieldable basic_file'] = array(
'name' => 'edit fieldable basic_file',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['edit fieldable image'] = array(
'name' => 'edit fieldable image',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['edit fieldable map'] = array(
'name' => 'edit fieldable map',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['edit fieldable quick_links'] = array(
'name' => 'edit fieldable quick_links',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['edit fieldable spotlight'] = array(
'name' => 'edit fieldable spotlight',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['edit fieldable table'] = array(
'name' => 'edit fieldable table',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['edit fieldable text'] = array(
'name' => 'edit fieldable text',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['edit fieldable video'] = array(
'name' => 'edit fieldable video',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'fieldable_panels_panes',
);
$permissions['edit own audio files'] = array(
'name' => 'edit own audio files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['edit own document files'] = array(
'name' => 'edit own document files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['edit own image files'] = array(
'name' => 'edit own image files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['edit own video files'] = array(
'name' => 'edit own video files',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'file_entity',
);
$permissions['view files'] = array(
'name' => 'view files',
'roles' => array(
'administrator' => 'administrator',
'anonymous user' => 'anonymous user',
'authenticated user' => 'authenticated user',
),
'module' => 'file_entity',
);
$permissions['view own files'] = array(
'name' => 'view own files',
'roles' => array(
'administrator' => 'administrator',
'anonymous user' => 'anonymous user',
'authenticated user' => 'authenticated user',
),
'module' => 'file_entity',
);
return $permissions;
}