File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
packages/framework/src/Framework/Features/Navigation Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,23 @@ public function getItems(): Collection
2525 return $ this ->items ;
2626 }
2727
28+ /**
29+ * @experimental These do not seem to be used outside of tests and may be removed
30+ *
31+ * @deprecated If kept, they should be renamed to be more generic.
32+ */
2833 public function hasDropdowns (): bool
2934 {
3035 return $ this ->dropdownsEnabled () && count ($ this ->getDropdowns ()) >= 1 ;
3136 }
3237
33- /** @return array<string, DropdownNavItem> */
38+ /**
39+ * @experimental These do not seem to be used outside of tests and may be removed
40+ *
41+ * @deprecated If kept, they should be renamed to be more generic.
42+ *
43+ * @return array<string, DropdownNavItem>
44+ */
3445 public function getDropdowns (): array
3546 {
3647 if (! $ this ->dropdownsEnabled ()) {
You can’t perform that action at this time.
0 commit comments