Issue #2701769 by snufkin: Missing @return documentation from ContentTranslationHandler::entityFormTitle

(cherry picked from commit c28aa40f54)
8.1.x
Alex Pott 2016-05-27 13:38:12 +01:00
parent 292b549ca1
commit aee92c50ff
1 changed files with 3 additions and 0 deletions

View File

@ -696,6 +696,9 @@ class ContentTranslationHandler implements ContentTranslationHandlerInterface, E
*
* @param \Drupal\Core\Entity\EntityInterface $entity
* The entity whose form is being altered.
*
* @return string|null
* The label of the entity, or NULL if there is no label defined.
*/
protected function entityFormTitle(EntityInterface $entity) {
return $entity->label();