Resource in view mode, but with "attach" on relation manager
Hello guys,
I have my WorkspaceResource that is only in 2 modes:
index
index
or
view
view
So in view, I would like to be able to see the "ATTACH" button of my relation manager, any idea how can I do that ? Because actually, as it's a view mode on my resource, it show me the view mode of my resource manager as well :/
Thanks!
Solution
Fixed, using:
public function isReadOnly(): bool { return false; }
public function isReadOnly(): bool { return false; }