- πΊπΈUnited States smustgrave
This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request β as a guide.
Could we add a simple test coverage for this please
Thanks.
- π¦πΊAustralia mstrelan
FWIW the following methods already return TranslatableMarkup:
- \Drupal\comment\Plugin\Menu\LocalTask\UnapprovedComments::getTitle
- \Drupal\config_translation\Plugin\Menu\LocalTask\ConfigTranslationLocalTask::getTitle
- \Drupal\menu_test\Plugin\Menu\LocalTask\TestTasksSettingsSub1::getTitle
So I think this really just needs the return type update. We probably don't need to remove the string cast in LocalTaskDefault and I don't think this needs tests.