Needs work
Project:
Drupal core
Version:
main
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Aug 2015 at 09:51 UTC
Updated:
23 Nov 2022 at 20:47 UTC
Jump to comment: Most recent
Comments
Comment #2
dawehnerShould we inform what kind of thing is written?
Comment #3
chx commentedInform whom...? Want me to add an event object where the bin and the name is added for every save? In lieu of every save? Change from an event to a hook returning [bin, virtual filename, generator callable] ?
Comment #4
dawehnerRight so this is kinda a global event which will be fired by something like drush rebuild-dumped-php-files.
Given that we don't really have more context ...
What about document when this event should be thrown?
This is really just example code, right? I think we should this then move maybe to core.api.php or so?
Comment #16
smustgrave commentedLooks like changes were requested #4 if still needed.
Also think this maybe can add Needs tests.