[TYPO3-core] RFC #11105: Feature: Add a method to register an Extbase plugin

Ernesto Baschny [cron IT] ernst at cron-it.de
Mon May 18 11:58:15 CEST 2009


Steffen Kamper wrote: on 18.05.2009 11:32:
> Hi Ernesto,
> 
> Ernesto Baschny [cron IT] schrieb:
>>
>> I wouldn't do that. The ext manager shouldn't allow an extension that
>> "depends" on extbase to be installed if extbase isn't installed.
>>
> 
> may be it's not clear. having the register function in extbase you call
> the method direct in localconf with
> Tx_Extbase_Utility_Plugin::registerPlugin
> 
> What will happen if extbase isn't installed, i expect a fatal error.

If you could install your extbase-based extension without extbase, you
have the dependencies wrong in your ext_emconf anyway. Your extension
should clearly depend on extbase, thus your ext_localconf will only be
loaded if extbase is also loaded.

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list