src/Charcoal/Admin/Widget/FormPropertyWidget.php
public function setData(array $data)
    {
        $this->isMergingWidgetData = true;

        $data = $this->setCoreData($data);

        parent::setData($data);

        // Keep the data in copy, this will be passed to the property and/or input later
        $this->setPropertyData($data);

        $this->isMergingWidgetData = false;

        return $this;
    }
public function setData(array $data)
    {
        $this->isMergingWidgetData = true;

        $data = $this->setCoreData($data);

        parent::setData($data);

        // Keep the data in copy, this will be passed to the property and/or input later
        $this->setPropertyData($data);

        $this->isMergingWidgetData = false;

        return $this;
    }
public function setData ( array $ data ) { $ this -> isMergingWidgetData = true ; $ data = $ this -> setCoreData ( $ data ) ; parent :: setData ( $ data ) ; // Keep the data in copy, this will be passed to the property and/or input later $ this -> setPropertyData ( $ data ) ; $ this -> isMergingWidgetData = false ; return $ this ; }
Set the widget and property data.

@param  array|ArrayAccess $data Widget and property data.
@return FormPropertyWidget Chainable
Set the widget and property data .