SilverStripe\SpellCheck\Handling\SpellCheckMiddleware
Synopsis
class SpellCheckMiddleware
implements
HTTPMiddleware
{
- // members
- private static string $editor = 'cms';
- // methods
- public void process()
- public array getLanguages()
- public string|false getDefaultLocale()
Hierarchy
Uses
- SilverStripe\Core\Config\Configurable
Implements
- SilverStripe\Control\Middleware\HTTPMiddleware
Members
private
- $editor
—
string
HTMLEditorConfig name to use
Methods
public
- getDefaultLocale() — Returns the default locale for TinyMCE. Either via configuration or the first in the list of locales.
- getLanguages() — Check languages to set
- process()