This repository was archived by the owner on Oct 29, 2020. It is now read-only.
Hides language tabs from regional admins#5167
Merged
itsjoekent merged 5 commits intoDoSomethingArchive:devfrom Sep 22, 2015
itsjoekent:5113
Merged
Hides language tabs from regional admins#5167itsjoekent merged 5 commits intoDoSomethingArchive:devfrom itsjoekent:5113
itsjoekent merged 5 commits intoDoSomethingArchive:devfrom
itsjoekent:5113
Conversation
Contributor
There was a problem hiding this comment.
meh, this isn't really best practice. this should be available in hook_menu_local_tasks_alter()
if you're having trouble seeing it there, you might need to play with the module weight
Contributor
Author
There was a problem hiding this comment.
ohhh local_tasks_alter -- I was doing menu_alter
Ill try that one!
Contributor
Author
|
@angaither updated to be more :drupal-y: |
added 2 commits
September 22, 2015 10:27
Contributor
Author
|
@angaither added commmennnttsssss 💬 |
Contributor
|
👍 |
itsjoekent
pushed a commit
that referenced
this pull request
Sep 22, 2015
Hides language tabs from regional admins
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's this PR do?
Hides the language tabs at the top of /node/edit/ from regional admins
How should this be manually tested?
Edit a node as a regional admin and verify the tabs aren't there.
Any background context you want to provide?
Looked in both menu_alter $items and the node_form alter $form and couldnt find them set in either. Figured this was an easier solution.
What are the relevant tickets?
Fixes #5113