From 20157b1cfe46b11c61b22619ed2c515e09f0d2c3 Mon Sep 17 00:00:00 2001 From: fengtan <fengtan@847318.no-reply.drupal.org> Date: Tue, 17 May 2022 10:01:48 -0400 Subject: [PATCH] Add info file. --- README.md | 2 +- menu_lock.info.yml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 menu_lock.info.yml diff --git a/README.md b/README.md index 09aef73..a390cb7 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ * Go to `admin/people/permissions`: there should be a permission `Move menu links across menus` * Go to `admin/structure/menu/manage/%menu` (e.g. `admin/structure/menu/manage/main`) * Add or edit a menu link - * Users *with* the permission `Move menu links across menus` will see options from *all* menus under the dropdown `Parent link`, and as a result will be able to move the menu link to another menu + * Users *with* the permission `Move menu links across menus` will see options from *all* menus under the dropdown `Parent link`, and as a result will be able to move the menu link to another menu (default behaviour of Drupal core) * Users *without* this permission will only see options from the *current* menu (e.g. the main menu), and as a result will not be able to move the menu link to another menu # Support diff --git a/menu_lock.info.yml b/menu_lock.info.yml new file mode 100644 index 0000000..cb1e6a6 --- /dev/null +++ b/menu_lock.info.yml @@ -0,0 +1,8 @@ +name: Menu Lock +type: module +description: Locks menu links into their menu +package: Administration +core_version_requirement: ^9 +dependencies: + - drupal:menu_ui + - drupal:menu_link_content -- GitLab