summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-03-05 07:42:46 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-03-05 07:42:49 +0000
commit43b1a91c1ee18d33be308adb1f31ec9b5678c6d7 (patch)
tree76149adc428a2180b9d0cf6e904f52892d05be5e
parent1bfef740b3b1a79bb9cd8df9d26bc6c9da617d5a (diff)
downloadwebtrees-43b1a91c1ee18d33be308adb1f31ec9b5678c6d7.tar.gz
webtrees-43b1a91c1ee18d33be308adb1f31ec9b5678c6d7.tar.bz2
webtrees-43b1a91c1ee18d33be308adb1f31ec9b5678c6d7.zip
Add external URL link to ckeditor module
-rw-r--r--app/Module/CkeditorModule.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/app/Module/CkeditorModule.php b/app/Module/CkeditorModule.php
index 942182550f..ff0350c86b 100644
--- a/app/Module/CkeditorModule.php
+++ b/app/Module/CkeditorModule.php
@@ -22,8 +22,10 @@ use Fisharebest\Webtrees\I18N;
/**
* Class CkeditorModule
*/
-class CkeditorModule extends AbstractModule
+class CkeditorModule extends AbstractModule implements ModuleExternalUrlInterface
{
+ use ModuleExternalUrlTrait;
+
// Location of our installation of CK editor.
public const CKEDITOR_PATH = 'public/ckeditor-4.11.2-custom/';
@@ -48,4 +50,14 @@ class CkeditorModule extends AbstractModule
/* I18N: Description of the “CKEditor” module. WYSIWYG = “what you see is what you get” */
return I18N::translate('Allow other modules to edit text using a “WYSIWYG” editor, instead of using HTML codes.');
}
+
+ /**
+ * Home page for the service.
+ *
+ * @return string
+ */
+ public function externalUrl(): string
+ {
+ return 'https://ckeditor.com';
+ }
}