Updated: Comment #5

Problem/Motivation

The Node.js config module should be ported to Drupal 8.

Proposed resolution

See the attached patch. (Needs work)

Remaining tasks

1. Use $this->t instead of just t().

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bohart’s picture

Status: Needs review » Needs work

Seems that we need to add here translation support.
So all text data should be wrapped with t() function.

id.medion’s picture

Assigned: Unassigned » id.medion
id.medion’s picture

Assigned: id.medion » Unassigned
Status: Needs work » Needs review
FileSize
11.23 KB
20.48 KB

Added support for translation and cleared trailing whitespace.

bohart’s picture

Status: Needs review » Needs work

Please look at FormBase::t.
Seems that we need to use $this->t instead of just t().

areke’s picture

Issue summary: View changes
id.medion’s picture

@bohart, thanks for explain.
Also fixed other issues, please review.

id.medion’s picture

Status: Needs work » Needs review
me-taras’s picture

me-taras’s picture

Status: Needs review » Closed (fixed)

  • Commit 9193180 on 8.x-1.x, 8.x-1.x-head authored by medion, committed by v2nk:
    Issue #2142007 by medion: Port Node.js Config module to Drupal 8