Merge pull request #18305 from civicrm/5.29
[civicrm-core.git] / CRM / Core / CodeGen / Specification.php
index 0f4678d74acde15fe778eb0305bcd17b30471d37..4d2be52ad41a80a166a0a7e479ab6de497f6e767 100644 (file)
@@ -212,6 +212,7 @@ class CRM_Core_CodeGen_Specification {
       'objectName' => $klass,
       'title' => $tableXML->title ?? self::nameToTitle($klass),
       'icon' => $tableXML->icon ?? NULL,
+      'add' => $tableXML->add ?? NULL,
       'labelName' => substr($name, 8),
       'className' => $this->classNames[$name],
       'bao' => ($useBao ? str_replace('DAO', 'BAO', $this->classNames[$name]) : $this->classNames[$name]),