function sharemessage_install in Share Message 8
Same name and namespace in other branches
- 7 sharemessage.install \sharemessage_install()
Implements hook_install().
File
- ./
sharemessage.install, line 43 - Update function for the Share Message module.
Code
function sharemessage_install() {
user_role_grant_permissions(AccountInterface::ANONYMOUS_ROLE, [
'view sharemessages',
]);
user_role_grant_permissions(AccountInterface::AUTHENTICATED_ROLE, [
'view sharemessages',
]);
}