adminCollectionCookieName
adminCollectionCookieName(
props):string
Defined in: packages/core/src/adminCookie.ts:50
Cookie name holding one collection’s own admin preferences (Decision 51)
— vex-admin:<collection>. Replaces vex-list-chips:<collection>,
vex-list-views:<collection>, vex-list-rows:<collection>, and (for a
COLLECTION’s own edit/list views specifically) vex-live-preview-panel:<collection>
/vex-live-preview-layout:<collection>.
Parameters
Section titled “Parameters”collection
Section titled “collection”string
The collection slug the cookie is scoped to.
Returns
Section titled “Returns”string
The fully-qualified cookie name, e.g. vex-admin:posts.