File manager - Edit - /home/opticamezl/www/newok/featuring.zip
Back
PK �8�\�}� featuring.xmlnu �[��� <?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="workflow" method="upgrade"> <name>plg_workflow_featuring</name> <author>Joomla! Project</author> <creationDate>2020-03</creationDate> <copyright>(C) 2020 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>4.0.0</version> <description>PLG_WORKFLOW_FEATURING_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Workflow\Featuring</namespace> <files> <folder>forms</folder> <folder plugin="featuring">services</folder> <folder>src</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_workflow_featuring.ini</language> <language tag="en-GB">language/en-GB/plg_workflow_featuring.sys.ini</language> </languages> <config> <fields name="params"> <fieldset name="basic"> <field name="allowedlist" type="WorkflowComponentSections" label="JWORKFLOW_EXTENSION_ALLOWED_LABEL" description="JWORKFLOW_EXTENSION_ALLOWED_DESCRIPTION" multiple="multiple" layout="joomla.form.field.list-fancy-select" /> <field name="forbiddenlist" type="WorkflowComponentSections" label="JWORKFLOW_EXTENSION_FORBIDDEN_LABEL" description="JWORKFLOW_EXTENSION_FORBIDDEN_DESCRIPTION" multiple="multiple" layout="joomla.form.field.list-fancy-select" /> </fieldset> </fields> </config> </extension> PK �8�\ƨ� : : services/provider.phpnu �[��� <?php /** * @package Joomla.Plugin * @subpackage Workflow.featuring * * @copyright (C) 2023 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\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Workflow\Featuring\Extension\Featuring; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.4.0 */ public function register(Container $container): void { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new Featuring( $dispatcher, (array) PluginHelper::getPlugin('workflow', 'featuring') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; PK �8�\س)�s<