Use getter function for entity id as on some forms is protected.
authoreileen <emcnaughton@wikimedia.org>
Mon, 14 May 2018 04:24:15 +0000 (16:24 +1200)
committereileen <emcnaughton@wikimedia.org>
Mon, 14 May 2018 04:24:15 +0000 (16:24 +1200)
commite4f5c8517fd042ddf2967294e810aa9067239edd
tree90e0bb2e8da6ceaa89cf3f225d01bd42dc774279
parente58304414d806b7dcc102880a47becd0a896dc17
Use getter function for entity id as on some forms  is protected.

Follow up to https://github.com/civicrm/civicrm-core/pull/12095
CRM/Custom/Form/CustomData.php
CRM/Member/Form/Membership.php