public function show(UserEntity $entity, $uuid)
 {
     $user = User::byUuid($uuid)->firstOrFail();
     $additionalFields = new EntityFieldPresenter($entity->getEntity());
     $additionalFields->setRowId($user->id);
     $widgets = app('app.widgets');
     return view('users::users.show')->with('user', $user)->with('widgets', $widgets->getWidgets('user.profile'))->with('fields', $additionalFields->getFields());
 }
 /**
  * @param Board $board
  * @return array
  */
 protected function getAdditionalFields(Board $board)
 {
     $additionalFields = new EntityFieldPresenter($board->getEntity());
     $additionalFields->setRowId($board->id);
     $additional = [];
     foreach ($additionalFields->getFields() as $field) {
         if (method_exists($field, 'presentJson')) {
             $additional[] = ['name' => $field->fieldName, 'value' => $field->presentJson()];
         } else {
             $additional[] = ['name' => $field->fieldName, 'value' => $field->presentFront()];
         }
     }
     return $additional;
 }