You are here

protected function EntityTranslationDefaultHandler::entityFormTitle in Entity Translation 7

Returns the title to be used for the entity form page.

This may contain HTML markup and thus needs to be sanitized, since it will be used as page title as-is.

1 call to EntityTranslationDefaultHandler::entityFormTitle()
EntityTranslationDefaultHandler::entityForm in includes/translation.handler.inc
2 methods override EntityTranslationDefaultHandler::entityFormTitle()
EntityTranslationCommentHandler::entityFormTitle in includes/translation.handler.comment.inc
EntityTranslationNodeHandler::entityFormTitle in includes/translation.handler.node.inc

File

includes/translation.handler.inc, line 1712
Default translation handler for the translation module.

Class

EntityTranslationDefaultHandler
Class implementing the default entity translation behaviours.

Code

protected function entityFormTitle() {
  return check_plain($this
    ->getLabel());
}