[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/layouts/joomla/toolbar/ -> containeropen.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Site
   5   * @subpackage  Layout
   6   *
   7   * @copyright   (C) 2013 Open Source Matters, Inc. <https://www.joomla.org>
   8   * @license     GNU General Public License version 2 or later; see LICENSE.txt
   9   */
  10  
  11  defined('_JEXEC') or die;
  12  
  13  use Joomla\CMS\Factory;
  14  use Joomla\CMS\Language\Text;
  15  
  16  /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
  17  $wa = Factory::getApplication()->getDocument()->getWebAssetManager();
  18  $wa->registerAndUseScript('joomla.toolbar', 'legacy/toolbar.min.js', [], ['defer' => true], ['core']);
  19  
  20  ?>
  21  <nav aria-label="<?php echo Text::_('JTOOLBAR'); ?>">
  22  <div class="btn-toolbar d-flex" role="toolbar" id="<?php echo $displayData['id']; ?>">


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer