hide_revision_field.install in Hide Revision Field 8
Same filename and directory in other branches
Install, update and uninstall functions for Hide Revision Field.
File
hide_revision_field.installView source
<?php
/**
* @file
* Install, update and uninstall functions for Hide Revision Field.
*/
use Drupal\user\RoleInterface;
/**
* Implements hook_install().
*/
function hide_revision_field_install() {
user_role_grant_permissions(RoleInterface::ANONYMOUS_ID, array(
'view revision field',
));
}
Functions
Name | Description |
---|---|
hide_revision_field_install | Implements hook_install(). |