4545 * @see WidgetTemplate::addSetting
4646 *
4747 * @since 15.0.0
48+ * @deprecated 20.0.0
4849 *
4950 * @package OCP\Dashboard\Model
5051 */
@@ -73,6 +74,7 @@ final class WidgetSetting implements JsonSerializable {
7374 * WidgetSetting constructor.
7475 *
7576 * @since 15.0.0
77+ * @deprecated 20.0.0
7678 *
7779 * @param string $type
7880 */
@@ -85,6 +87,7 @@ public function __construct(string $type = '') {
8587 * Set the name of the setting (full string, no space)
8688 *
8789 * @since 15.0.0
90+ * @deprecated 20.0.0
8891 *
8992 * @param string $name
9093 *
@@ -100,6 +103,7 @@ public function setName(string $name): WidgetSetting {
100103 * Get the name of the setting
101104 *
102105 * @since 15.0.0
106+ * @deprecated 20.0.0
103107 *
104108 * @return string
105109 */
@@ -112,6 +116,7 @@ public function getName(): string {
112116 * Set the title/display name of the setting.
113117 *
114118 * @since 15.0.0
119+ * @deprecated 20.0.0
115120 *
116121 * @param string $title
117122 *
@@ -127,6 +132,7 @@ public function setTitle(string $title): WidgetSetting {
127132 * Get the title of the setting
128133 *
129134 * @since 15.0.0
135+ * @deprecated 20.0.0
130136 *
131137 * @return string
132138 */
@@ -139,6 +145,7 @@ public function getTitle(): string {
139145 * Set the type of the setting (input, checkbox, ...)
140146 *
141147 * @since 15.0.0
148+ * @deprecated 20.0.0
142149 *
143150 * @param string $type
144151 *
@@ -154,6 +161,7 @@ public function setType(string $type): WidgetSetting {
154161 * Get the type of the setting.
155162 *
156163 * @since 15.0.0
164+ * @deprecated 20.0.0
157165 *
158166 * @return string
159167 */
@@ -166,6 +174,7 @@ public function getType(): string {
166174 * Set the placeholder (in case of type=input)
167175 *
168176 * @since 15.0.0
177+ * @deprecated 20.0.0
169178 *
170179 * @param string $text
171180 *
@@ -181,6 +190,7 @@ public function setPlaceholder(string $text): WidgetSetting {
181190 * Get the placeholder.
182191 *
183192 * @since 15.0.0
193+ * @deprecated 20.0.0
184194 *
185195 * @return string
186196 */
@@ -193,6 +203,7 @@ public function getPlaceholder(): string {
193203 * Set the default value of the setting.
194204 *
195205 * @since 15.0.0
206+ * @deprecated 20.0.0
196207 *
197208 * @param string $value
198209 *
@@ -208,6 +219,7 @@ public function setDefault(string $value): WidgetSetting {
208219 * Get the default value.
209220 *
210221 * @since 15.0.0
222+ * @deprecated 20.0.0
211223 *
212224 * @return string
213225 */
@@ -218,6 +230,7 @@ public function getDefault(): string {
218230
219231 /**
220232 * @since 15.0.0
233+ * @deprecated 20.0.0
221234 *
222235 * @return array
223236 */
0 commit comments