programmatically add system attribute owner in form

Permalink 1 user found helpful
I've created a Express Form programmatically in a package
$form->addFieldset('Basics')
            ->addAttributeKeyControl('titel')
            ->addAttributeKeyControl('sichtbarkeit')
            ->addAttributeKeyControl('owner')
            ->addAssociationControl('exposees');

The owner-attribute should be the existing entity-owner system attribute (see attached image).
How does it work to add this programmatically without gui?

Michael

1 Attachment

maschenborn