protected function CommentTranslationHandler::entityFormTitle in Drupal 10
Same name and namespace in other branches
- 8 core/modules/comment/src/CommentTranslationHandler.php \Drupal\comment\CommentTranslationHandler::entityFormTitle()
- 9 core/modules/comment/src/CommentTranslationHandler.php \Drupal\comment\CommentTranslationHandler::entityFormTitle()
File
- core/
modules/ comment/ src/ CommentTranslationHandler.php, line 32
Class
- CommentTranslationHandler
- Defines the translation handler for comments.
Namespace
Drupal\commentCode
protected function entityFormTitle(EntityInterface $entity) {
return t('Edit comment @subject', [
'@subject' => $entity
->label(),
]);
}