CoreFiles by mySites.guru
rotate.php46 lines, 1,002 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
be2922dfda2524aa9b8c6c7904ca95ab
sha1
aa729b574f3ec0bfb680e117e085f84a44e2b513
sha256
2e8a9366c9f16b369bc3c4a6ac7bdc80793e4ef4e03d60e37e3e51119370ef3c
<?php
/**
 * @package     Joomla.Plugin
 * @subpackage  Media-Action.rotate
 *
 * @copyright   Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * Media Manager Rotate Action
 *
 * @since  __DEPLOY_VERSION__
 */
class PlgMediaActionRotate extends \Joomla\Component\Media\Administrator\Plugin\MediaActionPlugin
{
	/**
	 * Load the javascript files of the plugin.
	 *
	 * @return  void
	 *
	 * @since   __DEPLOY_VERSION__
	 */
	protected function loadJs()
	{
		parent::loadJs();

		JHtml::_('script', 'vendor/cropperjs/cropper.min.js', array('version' => 'auto', 'relative' => true));
	}

	/**
	 * Load the CSS files of the plugin.
	 *
	 * @return  void
	 *
	 * @since   __DEPLOY_VERSION__
	 */
	protected function loadCss()
	{
		parent::loadCss();

		JHtml::_('stylesheet', 'vendor/cropperjs/cropper.min.css', array('version' => 'auto', 'relative' => true));
	}
}

No other release has this exact content. See every version of this file.