Replace check_plain() to String::checkPlain() in file module.

We need to be sure that each file that needs to use String::checkPlain() has the statement use Drupal\Component\Utility\String; at the top of it.

This is part of #2089331-[meta] Replace calls to check_plain() with Drupal\Component\Utility\String::checkPlain()

Comments

sharique’s picture

looks good to me.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Perfect

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 36ed633 and pushed to 8.x. Thanks!

  • alexpott committed 36ed633 on 8.x
    Issue #2296237 by er.pushpinderrana: Replace check_plain() to Drupal\...

Status: Fixed » Closed (fixed)

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