Commit 61461c5a authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Merge branch 'spartan'

parents 7e68e32b 2e33f404
Loading
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
@@ -36,6 +36,9 @@ class OscarConfigurationService implements ServiceLocatorAwareInterface
    const pfi_strict_format = 'pfi_strict_format';
    const allow_node_selection = 'allow_node_selection';
    const empty_project_require_validation = 'empty_project_require_validation';
    const financial_label = 'financial_label';
    const financial_description = 'financial_description';



    const theme = 'theme';
@@ -800,5 +803,26 @@ class OscarConfigurationService implements ServiceLocatorAwareInterface
        return $documentDropLocation;
    }

    public function getFinancialLabel(): string
    {
        return $this->getEditableConfKey(self::financial_label, 'PFI');
    }

    public function getFinancialDescription(): string
    {
        return $this->getEditableConfKey(self::financial_description, 'Numéro PFI');
    }

    public function setFinancialLabel(string $label)
    {
        return $this->saveEditableConfKey(self::financial_label, $label);
    }

    public function setFinancialDescription(string $description)
    {
        return $this->saveEditableConfKey(self::financial_description, $description);
    }



}
 No newline at end of file