public function export_for_pix() {
        $title = isset($this->attributes['title']) ? $this->attributes['title'] : '';
        if (empty($title)) {
            $title = isset($this->attributes['alt']) ? $this->attributes['alt'] : '';
        }
        return [
            'key' => $this->pix,
            'component' => $this->component,
            'title' => $title
        ];
    }
public function export_for_pix() {
        $title = isset($this->attributes['title']) ? $this->attributes['title'] : '';
        if (empty($title)) {
            $title = isset($this->attributes['alt']) ? $this->attributes['alt'] : '';
        }
        return [
            'key' => $this->pix,
            'component' => $this->component,
            'title' => $title
        ];
    }
public function export_for_pix ( ) { $ title = isset ( $ this -> attributes [ 'title' ] ) ? $ this -> attributes [ 'title' ] : '' ; if ( empty ( $ title ) ) { $ title = isset ( $ this -> attributes [ 'alt' ] ) ? $ this -> attributes [ 'alt' ] : '' ; } return [ 'key' => $ this -> pix , 'component' => $ this -> component , 'title' => $ title ] ; }
Much simpler version of export that will produce the data required to render this pix with the
pix helper in a mustache tag.

@return array
Much simpler version of export that will produce the data required to render this pix with the pix helper in a mustache tag .