Resources: SilverStripe
Adding a CMS tooltip
24 November 2014
Don't worry about writing bloated documentation - just write the tips where they're useful! Tooltips on tricky CMS fields make life a great deal easier, and have the bonus of acting as developer documentation as well.
TextField::create('MyText', 'My Text Label')
->setDescription('More <strong>detailed</strong> help')
->addExtraClass('cms-description-tooltip');