File: /home/oscasa/public_html/plugins/editors-xtd/modulesanywhere/helper.php
<?php
/**
* @package Modules Anywhere
* @version 7.8.2
*
* @author Peter van Westen <info@regularlabs.com>
* @link http://www.regularlabs.com
* @copyright Copyright © 2019 Regular Labs All Rights Reserved
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
defined('_JEXEC') or die;
use Joomla\CMS\Object\CMSObject as JObject;
/**
** Plugin that places the button
*/
class PlgButtonModulesAnywhereHelper
extends \RegularLabs\Library\EditorButtonHelper
{
/**
* Display the button
*
* @param string $editor_name
*
* @return JObject|null A button object
*/
public function render($editor_name)
{
return $this->renderPopupButton($editor_name);
}
}