Commit c28aa40f authored by alexpott's avatar alexpott
Browse files

Issue #2701769 by snufkin: Missing @return documentation from...

Issue #2701769 by snufkin: Missing @return documentation from ContentTranslationHandler::entityFormTitle
parent e354b3a8
......@@ -696,6 +696,9 @@ function entityFormDeleteTranslation($form, FormStateInterface $form_state) {
*
* @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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment