function CommentTranslationHandler::entityFormTitle
Same name in other branches
- 9 core/modules/comment/src/CommentTranslationHandler.php \Drupal\comment\CommentTranslationHandler::entityFormTitle()
- 8.9.x core/modules/comment/src/CommentTranslationHandler.php \Drupal\comment\CommentTranslationHandler::entityFormTitle()
- 11.x core/modules/comment/src/CommentTranslationHandler.php \Drupal\comment\CommentTranslationHandler::entityFormTitle()
Overrides ContentTranslationHandler::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(),
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.