summaryrefslogtreecommitdiff
path: root/app/Contracts/ElementInterface.php
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2021-10-29 12:56:29 +0100
committerGreg Roach <greg@subaqua.co.uk>2021-10-29 13:21:57 +0100
commit4e09581b39b1e0b1cbe8f139b2d9a1a462518462 (patch)
tree08cc55030f9699ad5837defe79b0757fbf368545 /app/Contracts/ElementInterface.php
parent2ebcf907ed34213f816592af04e6c160335d6311 (diff)
downloadwebtrees-4e09581b39b1e0b1cbe8f139b2d9a1a462518462.tar.gz
webtrees-4e09581b39b1e0b1cbe8f139b2d9a1a462518462.tar.bz2
webtrees-4e09581b39b1e0b1cbe8f139b2d9a1a462518462.zip
Fix: #3027 - expand/collapse subfields and show grouping during edit
Diffstat (limited to 'app/Contracts/ElementInterface.php')
-rw-r--r--app/Contracts/ElementInterface.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/Contracts/ElementInterface.php b/app/Contracts/ElementInterface.php
index b47890d8e1..9c1e12f960 100644
--- a/app/Contracts/ElementInterface.php
+++ b/app/Contracts/ElementInterface.php
@@ -36,6 +36,13 @@ interface ElementInterface
public function canonical(string $value): string;
/**
+ * Should we collapse the children of this element when editing?
+ *
+ * @return bool
+ */
+ public function collapseChildren(): bool;
+
+ /**
* Create a default value for this element.
*
* @param Tree $tree