CoreFiles by mySites.guru
mod_custom.php22 lines, 636 bytes, from Joomla_4.2.4-Stable-Full_Package.zip
Raw History Compare with 4.2.3
md5
5cbd3071445604222c7861249a222b31
sha1
92fc7da793f5b680b487855141f0d1fd3256cb4a
sha256
ef6a627ef297e6cea436eed236acb09e407bc31da8940432ed0a3a257fa88b36
<?php

/**
 * @package     Joomla.Site
 * @subpackage  mod_custom
 *
 * @copyright   (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Helper\ModuleHelper;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Plugin\PluginHelper;

if ($params->def('prepare_content', 1)) {
    PluginHelper::importPlugin('content');
    $module->content = HTMLHelper::_('content.prepare', $module->content, '', 'mod_custom.content');
}

require ModuleHelper::getLayoutPath('mod_custom', $params->get('layout', 'default'));

The same content is in 38 releases, Joomla 4.2.0-beta3 to 4.3.4. See them all, or every version of this file.