Resolve #3531197 "Allow to limit usage recording to specific entity types"
- /src/Form/SettingsForm.php
- /src/Plugin/UsageTypePluginBase.php
- /src/Plugin/UsageType/GenericCounter.php
- /src/Plugin/UsageType/Generic.php
Closes #3531197.
- Add per-plugin setting to specify allowed entity types.
- Add method to UsageTypePluginBase which checks if entity type is allowed by settings.
- Use this method in Generic and GenericCounter plugins.