IMPR: Widget Class Name

This commit is contained in:
Tony Air 2023-09-19 16:08:02 +02:00
parent 64478a7dff
commit 5f549810e1

View File

@ -23,6 +23,7 @@ class WidgetExtension extends DataExtension
public function updateCMSFields(FieldList $fields) public function updateCMSFields(FieldList $fields)
{ {
$obj = $this->owner;
parent::updateCMSFields($fields); parent::updateCMSFields($fields);
// Add a combined field for "Title" and "Displayed" checkbox in a Bootstrap input group // Add a combined field for "Title" and "Displayed" checkbox in a Bootstrap input group
$fields->removeByName('ShowTitle'); $fields->removeByName('ShowTitle');