agnonym
agnonym
TCTwill CMS
Created by agnonym on 4/18/2023 in #👊support
[3.0.0] Block class - getBlockTitle()
Hi, I was trying to move Blade blocks to Class. When I wanted to move @twillBlockTitleField in class, I thought I had to do my own logic in the getBlockTitle() method of my class which is supposed to have the block as argument. But the block is always null, indeed, the only call is in Services\Blocks\Block::parsePropertyFallback() but without arguments 😁 Is this supposed to pass the block ? (as A17\Twill\Models\Block or use A17\Twill\Services\Blocks\Block?)
10 replies