API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21...

Enter a descriptive title (above) relating to class Submit, then describe the problem you have found:

$form['actions']['submit'] = array(
'#type' => 'submit,
'#value' => $this->t('Save'),
);

Should be:

$form['actions']['submit'] = array(
'#type' => 'submit',
'#value' => $this->t('Save'),
);

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

thhafner created an issue. See original summary.

thhafner’s picture

Issue tags: +Novice
thhafner’s picture

Issue tags: -Novice
malcomio’s picture

Assigned: Unassigned » malcomio
Status: Active » Needs review
FileSize
441 bytes

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

jhodgdon’s picture

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

Doh! Good catch, and thanks for the issue/patch (respectively).

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Docs fixes are RC eligible so committed 039fb5d and pushed to 8.1.x and 8.2.x. Thanks!

  • alexpott committed 5423f76 on 8.2.x
    Issue #2704911 by malcomio, thhafner: Missing apostrophe in...

  • alexpott committed 039fb5d on 8.1.x
    Issue #2704911 by malcomio, thhafner: Missing apostrophe in...

Status: Fixed » Closed (fixed)

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