Skip to content

Drupal 8 module that swaps out the the admin menu based on the user's role

Notifications You must be signed in to change notification settings

jtphelan/site-admin-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Site Admin Menu

Swaps out the admin navigation menu for different roles.

Usage

Set the machine name of the menu to use and the permission to check against to determine which to show.

<?php 
// machine name of the menu to use for site admins
$site_admin_menu = 'owner';
// permission to check against to determine whether to load the system admin menu or 
// the custom site admin menu
$permission = 'administer content types';
?>

About

Drupal 8 module that swaps out the the admin menu based on the user's role

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published