Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I am using the new Link class in a custom module and I would like those links to open a new tab when clicked.
I can't seem to find a way to do that in the documentation page.
Is it possible to get that behavior using this class ?
I created a field called grade, for a student content type.
This field is an integer field that goes 0 - 12.
It later came up that my client wants to display the 0 as a k. I wanted to know if there was an override function I can use to check if the field value is 0 for a particular node, and if so, display a k instead of a 0.