06.
Complex Blocks & the parent() Function
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
Whoops, an error! Please, try again later.
2 Comments
Hello! :-)
I was wondering how do I dump
type?And is the
typethat is being referred to the one under:Hey Mirha M.
You could override "form_widget" block and do
dump(type)or just dodump()so you can see all the available variables on that scope.Nope, the type is the name of the FieldType you choosed. If you are curious, go open the "TextType" class, then, you will see a method named "getBlockPrefix", there is where the type value comes from.
Cheers!
"Houston: no signs of life"
Start the conversation!