Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate code to add custom fields to form #11899

Closed

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Mar 29, 2018

Overview

Proposal for consolidating code for custom data on forms (initial step)

Before

no change

After

no change

Technical Details

@mattwire looking at #11805 I'm wondering if we should do some steps like this first?

Comments

I retained

  • $this->set('type', $type);
  • $this->set('subType', $subType);
  • $this->set('entityId', $entityId);

But have some doubts about those lines

@mattwire
Copy link
Contributor

Ref #11794

@mattwire
Copy link
Contributor

@eileenmcnaughton This looks good... I've just proposed #11910 which takes this a little bit further.

@mattwire
Copy link
Contributor

Not sure if $this->set... lines are required either.

@eileenmcnaughton
Copy link
Contributor Author

@mattwire I'm going to close both of these as they are still both WIP. I will try to put some more time in soon & will re-open one or both when they seem merge ready

@eileenmcnaughton eileenmcnaughton deleted the cust_data_al branch June 8, 2018 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants