CoreFiles by mySites.guru
mod_toolbar.php20 lines, 573 bytes, from Joomla_5.0.3-Stable-Full_Package.zip
Raw History Compare with 5.0.2
md5
44c189e420782750240958ea31e96a96
sha1
c7d7e931db1c0ee4197626d9a6164acf7db938d1
sha256
1d06fa0400449626c271f3247aba972cd9852d64d9cd26d80848e0d561ecaf22
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  mod_toolbar
 *
 * @copyright   (C) 2005 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\Factory;
use Joomla\CMS\Helper\ModuleHelper;

/** @var $params Joomla\Registry\Registry */

$toolbar = Factory::getApplication()->getDocument()->getToolbar($params->get('toolbar', 'toolbar'))->render();

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

The same content is in 15 releases, Joomla 5.0.0-rc to 5.1.0-alpha4. See them all, or every version of this file.