switch from edit menu to admin_menu with admin_menu_source for administrator

This commit is contained in:
Bachir Soussi Chiadmi
2015-04-20 14:57:52 +02:00
parent f71bfe281e
commit 73186732c3
8 changed files with 658 additions and 9 deletions

View File

@@ -10,6 +10,88 @@
function materio_administration_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 = 'admin_menu_cache_client';
$strongarm->value = 0;
$export['admin_menu_cache_client'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'admin_menu_devel_modules_enabled';
$strongarm->value = array(
'field_ui' => 'field_ui',
'l10n_update' => 'l10n_update',
'views_ui' => 'views_ui',
'devel' => 'devel',
);
$export['admin_menu_devel_modules_enabled'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'admin_menu_devel_modules_skip';
$strongarm->value = array(
'admin_devel' => 0,
'devel' => 0,
'devel_node_access' => 0,
'field_ui' => 0,
'l10n_update' => 0,
'views_ui' => 0,
);
$export['admin_menu_devel_modules_skip'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'admin_menu_display';
$strongarm->value = 'plid';
$export['admin_menu_display'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'admin_menu_margin_top';
$strongarm->value = 1;
$export['admin_menu_margin_top'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'admin_menu_position_fixed';
$strongarm->value = 0;
$export['admin_menu_position_fixed'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'admin_menu_show_all';
$strongarm->value = 0;
$export['admin_menu_show_all'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'admin_menu_tweak_modules';
$strongarm->value = 0;
$export['admin_menu_tweak_modules'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'admin_menu_tweak_permissions';
$strongarm->value = 0;
$export['admin_menu_tweak_permissions'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'admin_menu_tweak_tabs';
$strongarm->value = 0;
$export['admin_menu_tweak_tabs'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;