cms icon indicating copy to clipboard operation
cms copied to clipboard

Add description property to Section and EntryTypes

Open leevigraham opened this issue 3 years ago • 1 comments

Description

At Newism we've been discussing ways to better self document the CraftCMS control panel.

I noticed that UserGroups have descriptions but Sections and EntryTypes do not so I added them.

There's no front end display of these values yet – open to discussion. The values could be used in custom UI elements at the discretion of the developer.

One thing that could throw a spanner in the works… what happens when a new property is added to a model and there's an existing custom field with the same handle?

  • Added craft\models\Section::description
  • Added craft\models\EntryTypes::description
Screen Shot 2022-05-16 at 11 58 34 pm image

leevigraham avatar May 16 '22 13:05 leevigraham

There would need to be an obvious place to show the description in the core UI for this to be seriously considered.

brandonkelly avatar Jul 27 '22 22:07 brandonkelly