Problem/Motivation

Function drupal_set_message() is deprecated. See: https://www.drupal.org/node/2774931
File:

  • advagg/src/Form/OperationsForm.php
  • advagg/src/Form/InfoForm.php

Proposed resolution

Use \Drupal::messenger() instead of drupal_set_message()

Remaining tasks

  1. Create patch
  2. Needs Review

User interface changes

None.

API changes

None.

Data model changes

None.

Comments

i-trokhanenko created an issue. See original summary.

i-trokhanenko’s picture

Assigned: i-trokhanenko » Unassigned
Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new7.24 KB
Roman Dyn’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Successfully applied advagg-form_messenger_service-3028908-2.patch. All works fine. Please commit it. Thanks.

thalles’s picture

Looks good!

  • i-trokhanenko authored a834d31 on 8.x-3.x
    Issue #3028908 by i-trokhanenko, Roman Dyn, thalles: Use Messenger...
thalles’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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