silverstripe-framework/src/Forms/HTMLEditor/TinyMCEScriptGenerator.php

18 lines
366 B
PHP

<?php
namespace SilverStripe\Forms\HTMLEditor;
/**
* Declares a service which can generate a script URL for a given HTMLEditor config
*/
interface TinyMCEScriptGenerator
{
/**
* Generate a script URL for the given config
*
* @param TinyMCEConfig $config
* @return string
*/
public function getScriptURL(TinyMCEConfig $config);
}