Problem/Motivation
At /admin/config/search/path/settings the Media checkbox is checked and disabled, so it can not be disabled.
The description above says:
Enable to add a path field and allow to define alias patterns for the given type. Disabled types already define a path field themselves or currently have a pattern.
But I have no alias pattern for Media and even deleted all aliases for media. Still I can not disable it.
I think in most Drupal installations there should be no media aliases? And at least you should be able to delete it.
Why isn't that possible?
If
Disabled types already define a path field themselves
applies, isn't that a strange condition then, if in most cases you wouldn't want aliases for media (unless you're maybe using the media setting for media canonical URLs)?
Comments
Comment #2
anybodySorry just found #3251452: Unable to unselect Content and Taxonomy term entity types after creating this one. The comments in #3 and #4 explain it technically, still I wonder how to disable automatic URL alias generation for media.
Creating a new media entry no new media alias seems to be created so possibly the existing ones were from history. In that case it would be okay this way. If anyone experiences media aliases being created without having a pattern, feel free to reopen this.
Sorry for the noise!