eZ\Publish\Core\FieldType\Page\Parts\Base::getState PHP Method

getState() public method

Returns available properties with their values as a simple hash.
public getState ( ) : array
return array
    public function getState()
    {
        $hash = array();
        foreach ($this->getProperties() as $property) {
            $hash[$property] = $this->{$property};
        }
        return $hash;
    }