Skip to content

Commit

Permalink
GetDKAN#4070: Widget Router code documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-korn committed Nov 27, 2023
1 parent 14ce28b commit c3fbb7e
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions modules/json_form_widget/src/WidgetRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ private function formatArrayDefaultValue($item) {
* Handle configuration for list elements.
*
* @param mixed $spec
* Object with spec for UI options.
* Object with spec for UI options.
* @param array $element
* Element to convert into list element.
* Element to convert into list element.
*
* @return array
* The element configured as a list element.
Expand Down Expand Up @@ -274,9 +274,9 @@ private function handleSelectOtherDefaultValue($element, $options) {
* Handle configuration for upload_or_link elements.
*
* @param mixed $spec
* Object with spec for UI options.
* Object with spec for UI options.
* @param array $element
* Element to convert into upload_or_link.
* Element to convert into upload_or_link.
*
* @return array
* The element configured as upload_or_link.
Expand All @@ -298,9 +298,9 @@ public function handleUploadOrLinkElement($spec, array $element) {
* Helper function for getting a textarea element.
*
* @param mixed $spec
* Object with spec for UI options.
* Object with spec for UI options.
* @param array $element
* Element to convert into textarea.
* Element to convert into textarea.
*
* @return array
* The element configured as textarea.
Expand All @@ -320,9 +320,9 @@ public function handleTextareaElement($spec, array $element) {
* Helper function for hiding an element.
*
* @param mixed $spec
* Object with spec for UI options.
* Object with spec for UI options.
* @param array $element
* Element to convert into hidden.
* Element to convert into hidden.
*
* @return array
* The element configured as hidden.
Expand All @@ -336,9 +336,9 @@ public function handleHiddenElement($spec, array $element) {
* Helper function for getting a dkan_uuid element.
*
* @param mixed $spec
* Object with spec for UI options.
* Object with spec for UI options.
* @param array $element
* Element to convert into dkan_uuid.
* Element to convert into dkan_uuid.
*
* @return array
* The element configured as dkan_uuid.
Expand All @@ -353,9 +353,9 @@ public function handleDkanUuidElement($spec, array $element) {
* Helper function for getting a date element.
*
* @param mixed $spec
* Object with spec for UI options.
* Object with spec for UI options.
* @param array $element
* Element to convert into date.
* Element to convert into date.
*
* @return array
* The element configured as date.
Expand All @@ -375,9 +375,9 @@ public function handleDateElement($spec, array $element) {
* Helper function for getting a datetime element.
*
* @param mixed $spec
* Object with spec for UI options.
* Object with spec for UI options.
* @param array $element
* Element to convert into datetime.
* Element to convert into datetime.
*
* @return array
* The element configured as datetime.
Expand All @@ -398,9 +398,9 @@ public function handleDatetimeElement($spec, array $element) {
* Helper function for getting a date_range element.
*
* @param mixed $spec
* Object with spec for UI options.
* Object with spec for UI options.
* @param array $element
* Element to convert into date_range.
* Element to convert into date_range.
*
* @return array
* The element configured as date_range.
Expand Down

0 comments on commit c3fbb7e

Please sign in to comment.