/** * Called when the form data is valid. * Handle, transform and return the data in an array format so it can * be json encoded and sent back to the client. * * @param array $data * @return array */ public function process(array $data) { $data = parent::process($data); $data['meta']['description'] = Hash::get($data, 'data.content'); return $data; }