GridFieldConfig_BlockEditor::setAllowedBlocks
Set the allowed blocks for this gridfield
Signature
public function setAllowedBlocks(array
$allowedBlocks )
Parameters
$allowedBlocks
— array- a set of allowed class names, optionally mapped to titles