- Issue created by @suraj3310
I am using 8.x-1.0-rc1 version in drupal 11 by making it compatible with d11. On going to media config i am saving the settings which i did but there is no success message or redirection. So to config i have to go to media to check if it is applied.
1. Go to the config page : admin/config/domain/entities
2. Then select the entity and the config.
3. Then you will get a config button click on it.
4. Then select the media type and make the settings.
5. Save the config.
Add this below code.
$entity_type = $this->entityTypeManager->getDefinition($entity_type_id, FALSE);
$this->messenger()->addStatus($this->t('Domain access '. $entity_type->getLabel() .' settings have been saved successfully.'));
Active
Code