protected function ContentTranslationHandler::entityFormTitle in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/content_translation/src/ContentTranslationHandler.php \Drupal\content_translation\ContentTranslationHandler::entityFormTitle()
Returns the title to be used for the entity form page.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity whose form is being altered.
1 call to ContentTranslationHandler::entityFormTitle()
- ContentTranslationHandler::entityFormAlter in core/
modules/ content_translation/ src/ ContentTranslationHandler.php - Performs the needed alterations to the entity form.
3 methods override ContentTranslationHandler::entityFormTitle()
- BlockContentTranslationHandler::entityFormTitle in core/
modules/ block_content/ src/ BlockContentTranslationHandler.php - Returns the title to be used for the entity form page.
- CommentTranslationHandler::entityFormTitle in core/
modules/ comment/ src/ CommentTranslationHandler.php - Returns the title to be used for the entity form page.
- NodeTranslationHandler::entityFormTitle in core/
modules/ node/ src/ NodeTranslationHandler.php - Returns the title to be used for the entity form page.
File
- core/
modules/ content_translation/ src/ ContentTranslationHandler.php, line 705 - Contains \Drupal\content_translation\ContentTranslationHandler.
Class
- ContentTranslationHandler
- Base class for content translation handlers.
Namespace
Drupal\content_translationCode
protected function entityFormTitle(EntityInterface $entity) {
return $entity
->label();
}