silverstripe / silverstripe-elemental

Create pages in Silverstripe CMS using content blocks
http://dna.co.nz
BSD 3-Clause "New" or "Revised" License
109 stars 115 forks source link

API Deprecate BaseElement::getDescription() #1196

Closed GuySartorelli closed 3 months ago

GuySartorelli commented 3 months ago

Replaces https://github.com/silverstripe/silverstripe-elemental/pull/953

This will free up Description to be used as a db column for blocks. I had considered replacing getDescription() with geti18nDescription() to keep a method where the localised description could be fetched - but it seems unlikely that there are use cases to want to fetch that information directly outside of its use in the react components.

Issue