Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (19 sloc) 526 Bytes
<?php
/**
* @package s9e\fancypants
* @copyright Copyright (c) 2015-2018 The s9e Authors
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
namespace s9e\fancypants;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class listener implements EventSubscriberInterface
{
public static function getSubscribedEvents()
{
return ['core.text_formatter_s9e_configure_after' => 'onConfigure'];
}
public function onConfigure($event)
{
$event['configurator']->FancyPants;
}
}