Skip to content

Commit

Permalink
Merge branch '2' into 3
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Nov 26, 2024
2 parents dbb0487 + 0c04234 commit a22c5ca
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/ModalController.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@ class ModalController extends FormSchemaController

/**
* Builds and returns the external link form
*
* @return Form
* @deprecated 2.4.0 Will be replaced with linkModalForm()
*/
public function EditorExternalLink(): Form
{
Deprecation::noticeWithNoReplacment('2.4.0', 'Will be replaced with linkModalForm()');
// Show link text field if requested
$showLinkText = $this->getRequest()->getVar('requireLinkText');
$factory = EditorExternalLinkFormFactory::singleton();
Expand All @@ -37,9 +41,13 @@ public function EditorExternalLink(): Form

/**
* Builds and returns the external link form
*
* @return Form
* @deprecated 2.4.0 Will be replaced with linkModalForm()
*/
public function EditorEmailLink(): Form
{
Deprecation::noticeWithNoReplacment('2.4.0', 'Will be replaced with linkModalForm()');
// Show link text field if requested
$showLinkText = $this->getRequest()->getVar('requireLinkText');
$factory = EditorEmailLinkFormFactory::singleton();
Expand Down

0 comments on commit a22c5ca

Please sign in to comment.