Create a function:
//---------------------------------------------------------
function drupal_set_message($message = NULL)
{
$messenger = \Drupal::messenger();
if (isset($message)){
$messenger->addMessage($message,'status',FALSE); }
}
//---------------------------------------------------------
Replace
drupal_set_message(array(
'#type' => 'markup',
'#markup' => $tle));
with these lines:
$this->drupal_set_message(array(
'#type' => 'markup',
'#markup' => $tle));
-
cf: https://www.tenforums.com/tutorials/101274-uninstall-printer-driver-windows-10-a.html Open cmd in administer mode Run printmanagement...
-
cf: https://forums.raspberrypi.com/viewtopic.php?t=278033 For linux: First run the command: route -n It will show the metrics of the i...
-
cf: https://askubuntu.com/questions/1276111/error-upgrading-grub-efi-amd64-signed-special-device-old-ssd-does-not-exist sudo mv /var/cache...