Skip to content
Snippets Groups Projects
Commit 3fdac2c0 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-3921: adding status message to content form

parent 0c7a6959
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ use Drupal\Core\Form\FormStateInterface;
use Drupal\user\PermissionHandlerInterface;
use Drupal\user\RoleStorageInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\Messenger\MessengerTrait;
class UwContentAccessForm extends FormBase {
......@@ -195,6 +196,8 @@ class UwContentAccessForm extends FormBase {
// Save the role object.
$uw_role_object->save();
}
$this->messenger()->addStatus($this->t('The changes have been saved.'));
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment