Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_ct_project
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_ct_project
Commits
9bb7704d
Commit
9bb7704d
authored
9 years ago
by
Kevin Paxman
Browse files
Options
Downloads
Patches
Plain Diff
Add node_revision_delete content type-specific settings
parent
7df8ceed
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
uw_ct_project.info
+3
-1
3 additions, 1 deletion
uw_ct_project.info
uw_ct_project.strongarm.inc
+15
-1
15 additions, 1 deletion
uw_ct_project.strongarm.inc
with
18 additions
and
2 deletions
uw_ct_project.info
+
3
−
1
View file @
9bb7704d
...
...
@@ -2,7 +2,6 @@ name = Project
description = Project content type
core = 7.x
package = uWaterloo Content Types
project = uw_ct_project
dependencies[] = better_formats
dependencies[] = context
dependencies[] = context_var
...
...
@@ -22,6 +21,7 @@ dependencies[] = list
dependencies[] = menu
dependencies[] = node
dependencies[] = node_reference
dependencies[] = node_revision_delete
dependencies[] = options
dependencies[] = override_node_options
dependencies[] = scheduler
...
...
@@ -113,6 +113,8 @@ features[variable][] = menu_options_uw_project
features[variable][] = menu_parent_uw_project
features[variable][] = node_options_uw_project
features[variable][] = node_preview_uw_project
features[variable][] = node_revision_delete_number_uw_project
features[variable][] = node_revision_delete_track_uw_project
features[variable][] = node_submitted_uw_project
features[variable][] = pathauto_node_uw_project_pattern
features[variable][] = pathauto_taxonomy_term_pattern
...
...
This diff is collapsed.
Click to expand it.
uw_ct_project.strongarm.inc
+
15
−
1
View file @
9bb7704d
...
...
@@ -21,7 +21,7 @@ function uw_ct_project_strongarm() {
$strongarm
->
disabled
=
FALSE
;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm
->
api_version
=
1
;
$strongarm
->
name
=
'comment_anonymous_uw_project'
;
$strongarm
->
value
=
0
;
$strongarm
->
value
=
'0'
;
$export
[
'comment_anonymous_uw_project'
]
=
$strongarm
;
$strongarm
=
new
stdClass
();
...
...
@@ -192,6 +192,20 @@ function uw_ct_project_strongarm() {
$strongarm
->
value
=
'1'
;
$export
[
'node_preview_uw_project'
]
=
$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_revision_delete_number_uw_project'
;
$strongarm
->
value
=
'50'
;
$export
[
'node_revision_delete_number_uw_project'
]
=
$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_revision_delete_track_uw_project'
;
$strongarm
->
value
=
1
;
$export
[
'node_revision_delete_track_uw_project'
]
=
$strongarm
;
$strongarm
=
new
stdClass
();
$strongarm
->
disabled
=
FALSE
;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm
->
api_version
=
1
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment