How to change visible action name in context menu to lowercase? #4513
Answered
by
duncanmcclean
jensolafkoch
asked this question in
Q&A
-
Hi all! When I create an action "SomeAction" for example, it is shown as "Some Action" in a context menu. In German we need sometimes lowercase on the second or following words like "Some action" - is there a property or something else I can do in the action class to achieve this? Many thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
duncanmcclean
Oct 18, 2021
Replies: 1 comment 1 reply
-
You can use the public static function title()
{
return 'WhateverYouWantTheTitleToBe';
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jensolafkoch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the
title
method to return whatever you like: