Usage of cObject EXTBASEPLUGIN without caching (USER_INT)

54 views Asked by At

I wonder if it is possible to use the cObject "EXTBASEPLUGIN" (available since TYPO3 12.3) without caching (USER_INT). In the documentation, only an example with cOcject "USER" is substituted.

Documentation EXTBASEPLUGIN

In the class TYPO3\CMS\Extbase\ContentObject\ExtbasePluginContentObject the UserObjectType is taken into account, but it is not clear to me how I can ensure that it is not set to USER (ContentObjectRenderer::OBJECTTYPE_USER).

Initial state of the code:

page.10 = USER_INT
page.10 {
    userFunc = TYPO3\\CMS\\Extbase\\Core\\Bootstrap->run
    extensionName = MyExtension
    pluginName = MyPlugin
}

My goal is (if possible) to use the new cObject "EXTBASEPLUGIN" while maintaining the same behavior.

1

There are 1 answers

0
Jo Hasenau On

To be on the safe side, you could put it into a COA_INT - should have the same effect.

page.10 = COA_INT
page.10 {
  10 = EXTBASEPLUGIN
  10 {
    extensionName = MyExtension
    pluginName = MyPlugin
  }
}