symfony sonata - Get the id of current element in Admin::configureListFields -
how current object id in admin::configurelistfields
?
$this->getsubject()
returns null
thank you
since there many objects in list, question makes no sense. i'll go ahead , assume in child admin. if case, think looking $this->getparent()->getsubject()->getid()
Comments
Post a Comment