You are here

function hide_revision_field_install in Hide Revision Field 8

Same name and namespace in other branches
  1. 8.2 hide_revision_field.install \hide_revision_field_install()

Implements hook_install().

File

./hide_revision_field.install, line 12
Install, update and uninstall functions for Hide Revision Field.

Code

function hide_revision_field_install() {
  user_role_grant_permissions(RoleInterface::ANONYMOUS_ID, array(
    'view revision field',
  ));
}