[TYPO3-core] RFC #16177: Add DB structure update pre-processing hook in EM

Xavier Perseguers typo3 at perseguers.ch
Tue Nov 2 10:00:54 CET 2010


Hi,

> I also need the such a hook to add one more entry to the
> static_template. I want to insert one record from an other extension
> called 'mastertemplate'. The problem is that the
> ext_tables_static+adt.sql are not executed when the extension is
> installed, because it does not create the table static_template.
>
> The object $hookObject should be passed. This saves a new creation of it
> in the hook.

I guess you meant $instObj, not $hookObject. See my other answer, I'll 
include it in the hook method signature as I'll need it too.

> $preprocessContent = $hookObject->preprocessDBupdates($extKey, $extInfo,
> $diff, $instObj, $this);


Xavier


More information about the TYPO3-team-core mailing list