Remove the drupal_alter() from bootstrap.inc as it is deprecated as per meta https://www.drupal.org/node/2205673

submitted patch for the same.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tstoeckler’s picture

Status: Needs review » Reviewed & tested by the community

Looks good! :-)

webchick’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Needs change record

Needs a draft change record to explain what module authors are supposed to do now if they were calling drupal_alter() before.

ParisLiakos’s picture

Issue tags: -@depreacted, -Needs change record +@deprecated, +Needs reroll

change record already exists here
https://www.drupal.org/node/1894902

but this needs a reroll now

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, remove-drupal-alter.patch, failed testing.

ParisLiakos’s picture

Status: Needs work » Reviewed & tested by the community
FileSize
885 bytes

actually..here is the reroll ;)

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 24cfbec and pushed to 8.x. Thanks!

  • alexpott committed 24cfbec on 8.x
    Issue #2301577 by ParisLiakos, joshi.rohit100: Remove drupal_alter() as...
star-szr’s picture

Issue tags: -Needs reroll

Status: Fixed » Closed (fixed)

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

Elijah Lynn’s picture

Change record for this => https://www.drupal.org/node/1894902

New D8 way is \Drupal::moduleHandler()->alter($type, &$data, &$context1 = NULL, &$context2 = NULL)