summaryrefslogtreecommitdiff
path: root/app/Elements/AbstractXrefElement.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Elements/AbstractXrefElement.php')
-rw-r--r--app/Elements/AbstractXrefElement.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/Elements/AbstractXrefElement.php b/app/Elements/AbstractXrefElement.php
index 021cc4df6f..ccd8ae7839 100644
--- a/app/Elements/AbstractXrefElement.php
+++ b/app/Elements/AbstractXrefElement.php
@@ -32,6 +32,16 @@ use function preg_match;
class AbstractXrefElement extends AbstractElement
{
/**
+ * Should we collapse the children of this element when editing?
+ *
+ * @return bool
+ */
+ public function collapseChildren(): bool
+ {
+ return true;
+ }
+
+ /**
* Escape @ signs in a GEDCOM export.
*
* @param string $value