* @git Joomla Component Builder * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace VDM\Component\Componentbuilder\Administrator\Controller; use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\MVC\Controller\BaseController; use Joomla\CMS\Router\Route; use Joomla\CMS\Session\Session; use Joomla\Utilities\ArrayHelper; use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper; // No direct access to this file \defined('_JEXEC') or die; /** * Componentbuilder Pull_selection Base Controller * * @since 1.6 */ class Pull_selectionController extends BaseController { /** * The context for storing internal data, e.g. record. * * @var string * @since 1.6 */ protected $context = 'pull_selection'; /** * The URL view item variable. * * @var string * @since 1.6 */ protected $view_item = 'pull_selection'; /** * Adds option to redirect back to the dashboard. * * @return void * @since 3.0 */ public function dashboard(): void { $this->setRedirect(Route::_('index.php?option=com_componentbuilder', false)); } }