[TYPO3-dev] De-register an ExtBase plugin

Søren Malling soren.malling at gmail.com
Wed Jul 2 10:37:14 CEST 2014


Hi Mark,

Use the extension managers configuration (ext_conf_template.txt) and have
checkboxes where you can activate the different plugins.

In your ext_tables.php you use these settings, and wrap the registerPlugin
inside a condition.

Makes sense?

Cheers

Søren


On Wed, Jul 2, 2014 at 9:57 AM, Mark Howells-Mead <
m.howells-mead at frappant.ch> wrote:

> I have a gallery extension in a private repository, which I use for more
> than one project. There are three view plugins in the extension, which are
> made available using
> \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin.
>
> For one of the projects, I would like to disable two of them, without
> modifying the code. Is there a way to de-register a plugin? I suspect that
> the best way would be via TypoScript / TS Config in the root page, but does
> anyone have any references for how to achieve this? There appears to be no
> counterpoint deRegisterPlugin function in
> \TYPO3\CMS\Extbase\Utility\ExtensionUtility.
>
> Thanks!
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>



More information about the TYPO3-dev mailing list