Part of #2509534: [Meta] document or refactor calls to drupal_render()

Problem/Motivation

\Drupal\locale\Form\TranslationStatusForm::buildForm() uses deprecated drupal_render() without reason

Proposed resolution

Return a render array instead of rendering parts of form.

Remaining tasks

patch/commit

User interface changes

no

API changes

no

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue category Bug because uses rendering in form build code
Issue priority Normal because it's leftover code from 7.x
Disruption Non-disruptive for core/contributed and custom modules/themes
CommentFileSizeAuthor
locale-status.patch672 bytesandypost

Comments

wim leers’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Quickfix

This one is wonderfully trivial :)

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 760e9d5 and pushed to 8.0.x. Thanks!

Thanks for adding the beta evaluation to issue summary.

  • alexpott committed 760e9d5 on 8.0.x
    Issue #2509628 by andypost: TranslationStatusForm::buildForm() should...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.