Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
field_collection
Commits
a4dfe556
Commit
a4dfe556
authored
Jan 10, 2012
by
davereid
Committed by
Tim Plunkett
Jan 10, 2012
Browse files
Issue #1335082 by Dave Reid: Update the 'administer field collection' permission machine name.
parent
fc02caec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
field_collection.install
field_collection.install
+10
-0
No files found.
field_collection.install
View file @
a4dfe556
...
...
@@ -45,3 +45,13 @@ function field_collection_field_schema($field) {
'columns'
=>
$columns
,
);
}
/**
* Update the administer field collection permission machine name.
*/
function
field_collection_update_7000
()
{
db_update
(
'role_permission'
)
->
fields
(
array
(
'permission'
=>
'administer field collections'
))
->
condition
(
'permission'
,
'administer field-collections'
)
->
execute
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment