-
Notifications
You must be signed in to change notification settings - Fork 6
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
[DDST-455] BCELN24MIG-161: Feature/base fields #77
Conversation
Soft-dependency on `base_field_override_ui`. When enabled, should allow mapping of the CSL values via base fields.
Should now have things link back to the CSL Mapping page.
islandora_citations.module
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty much just:
- renamed the old function away from the hook name
- adjusted its contents to exit early when failing to load the "schema", where much of mess comes from here with reindentation
- readded the old hook to call the new renamed function, as well as two new hooks which call the renamed function to similarly attach when both adding and editing base field overrides.
- slightly simplified the form flow: Putting things directly into
$form['third_party_settings']
avoids have to separately handling things on submission.
With drupal/base_field_override_ui, i can map the title! Many thanks! |
update with latest from main
new Link( | ||
$this->t('Add'), | ||
$add_destination(BaseFieldOverrideUI::getAddRouteInfo($config)), | ||
) : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An outdated comment is applicable to this section of code so linking for future reference #77 (comment)
And yes I can confirm this is currently not applicable to the list of fields being iterated on, but I see no harm keeping it here in case things get extended/altered to iterate over all base fields rather than just the ones already included in a given content type.
No description provided.