-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoa_contextual_tabs.strongarm.inc
40 lines (35 loc) · 1.19 KB
/
oa_contextual_tabs.strongarm.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/**
* @file
* oa_contextual_tabs.strongarm.inc
*/
/**
* Implements hook_strongarm().
*/
function oa_contextual_tabs_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 = 'contextual_tabs_extract';
$strongarm->value = 'user*:Edit|Edit profile,icon-pencil
node/*/clone/confirm:View|Cancel,icon-remove
node/*/edit:View|Cancel,icon-remove
View
Edit,icon-pencil
Members,icon-user';
$export['contextual_tabs_extract'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'contextual_tabs_pages';
$strongarm->value = 'admin*';
$export['contextual_tabs_pages'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'contextual_tabs_visilibity';
$strongarm->value = 1;
$export['contextual_tabs_visilibity'] = $strongarm;
return $export;
}