From 1ac18b9d4c65580ba1c6201dd04f748d29d1562d Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Thu, 21 Oct 2021 15:38:00 +0200 Subject: [PATCH] Add list of available licenses without their links --- src/MDLicensesSet.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/MDLicensesSet.php b/src/MDLicensesSet.php index de4a774..45056a8 100644 --- a/src/MDLicensesSet.php +++ b/src/MDLicensesSet.php @@ -14,6 +14,23 @@ final class MDLicensesSet extends MDValueSet { const DEFAULT_LICENSE_IMGS = 'CC BY-NC-SA'; const DEFAULT_LICENSE_METADATA = 'CC BY-NC-SA'; + const AVAILABLE_LICENSES_NAMES = [ + + 'CC BY-NC-SA', + 'CC BY-NC-ND', + 'CC BY-NC', + 'CC BY-ND', + 'CC BY-SA', + 'CC BY', + 'CC0', + 'RR-F', + 'RR-P', + 'RR-R', + 'Public Domain Mark', + 'Orphan Work', + + ]; + const AVAILABLE_LICENSES = [ 'CC BY-NC-SA' => 'https://creativecommons.org/licenses/by-nc-sa/4.0/',