API page: https://api.drupal.org/api/drupal/core%21includes%21entity.inc/function/...

  $values = array(
    'targetEntityType' => $entity_type,
    'bundle' => $bundle,
    'mode' => $view_mode,
    'status' => TRUE,
  ));

Two closing parentheses.

CommentFileSizeAuthor
#3 2800703-3.patch468 bytesShashwat Purav
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joachim created an issue. See original summary.

Shashwat Purav’s picture

Assigned: Unassigned » Shashwat Purav
Shashwat Purav’s picture

Assigned: Shashwat Purav » Unassigned
Status: Active » Needs review
FileSize
468 bytes

Patch added. Fixed syntax error in deprecation notice's sample code.

joachim’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me. Thanks!

naveenvalecha’s picture

Issue tags: +Quickfix, +Quick fix

RTBC +1

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed 1c940d7 to 8.3.x and 227b5e9 to 8.2.x. Thanks!

  • alexpott committed 1c940d7 on 8.3.x
    Issue #2800703 by Shashwat Purav: syntax error in deprecation notice's...

  • alexpott committed 227b5e9 on 8.2.x
    Issue #2800703 by Shashwat Purav: syntax error in deprecation notice's...

Status: Fixed » Closed (fixed)

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