You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was following the docs scrictly (I reckon) and wasn't able to create a block.
Finally I realized the docs led me to create the patch file under /Data/Setup/Patch/Data/MyClass.php.
But it only works if I create under <module/Setup/Patch/Data/MyClass.php.
Maybe I missed some other point here, but...
The text was updated successfully, but these errors were encountered:
Just to make it clear, the problem I pointed was an extra /Data/ in the docs. Not the fact of it was using the old Setup-way of doing things.
Never mind.. maybe I did some confusion, but sorted that out anyway.
Ah ok, no worrries! "data" setup patch scripts typically go in a Setup/Patch/Data directory... but I can see how that can be confused with the name of this module being Data. I should have picked a better name! 😅
I was following the docs scrictly (I reckon) and wasn't able to create a block.
Finally I realized the docs led me to create the patch file under /Data/Setup/Patch/Data/MyClass.php.
But it only works if I create under <module/Setup/Patch/Data/MyClass.php.
Maybe I missed some other point here, but...
The text was updated successfully, but these errors were encountered: