Problem/Motivation
When trying to set a metatag value it is not always clear what could be a valid value. It would be useful to provide examples of valid values for every metatag.
Proposed resolution
I have originally thought of adding the examples to the "Metatag plugins" report available at `/admin/reports/metatag-plugins`. @damienmckenna later suggested to add the example to the MetatagTag annotation. This would provide a standard way for other modules to provide examples for the metatags they expose.
Remaining tasks
Determine the extent to which examples should be shown. Particularly, would it be possible to show only one or multiple example? Shall we exemplify how to set metatags that accept multiple values?
User interface changes
Not required. It would be nice to parse the annotation data and display it in the "Metatag plugins" report.
API changes
Add a property to the MetatagTag annotation class.
Data model changes
None (?).
Comments