protected function getFieldMessage($data) {
    $value = NULL;
    if (isset($data['mid'])) {
      $value = [];
      $value[] = [
        'target_id' => $data['mid'],
      ];
    }
    return $value;
  }
protected function getFieldMessage($data) {
    $value = NULL;
    if (isset($data['mid'])) {
      $value = [];
      $value[] = [
        'target_id' => $data['mid'],
      ];
    }
    return $value;
  }
protected function getFieldMessage ( $ data ) { $ value = NULL ; if ( isset ( $ data [ 'mid' ] ) ) { $ value = [ ] ; $ value [ ] = [ 'target_id' => $ data [ 'mid' ] , ] ; } return $ value ; }
Get field value for 'message' field from data array.
Get field value for message field from data array .