-
Beta Was this translation helpful? Give feedback.
Answered by
crynobone
Apr 9, 2021
Replies: 3 comments 5 replies
-
Override the method from the desired resource class. /**
* Get the text for the create resource button.
*
* @return string|null
*/
public static function createButtonLabel()
{
return __('Create :resource', ['resource' => static::singularLabel()]);
} |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
crynobone
This comment was marked as off-topic.
This comment was marked as off-topic.
-
@Muetze42 I don't think so. Which is hilarious in my opinion. Want to change the button text? Okay. Want to change the create title? Not possible 😂. I had to hack it with CSS:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Override the method from the desired resource class.