List of objectbrick

Hi all,
How to get a list of all Objectbricks titles in one dropdown.
ob
Thanks for any advises!

Hi,

You can get a list of all object bricks like so:

$bricks = new DataObject\Objectbrick\Definition\Listing();
$bricks->load();

Then to get this list into a dropdown you can use an OptionsProvider.

Hope this helps!

Thanks @aarongerig :slightly_smiling_face: :