Skip to content

Instantly share code, notes, and snippets.

@webflo
Created December 12, 2016 13:55
Show Gist options
  • Save webflo/ed451d5b7b456151425d0013cfafa37d to your computer and use it in GitHub Desktop.
Save webflo/ed451d5b7b456151425d0013cfafa37d to your computer and use it in GitHub Desktop.
[10:33:08] <GaborHojtsy> https://www.drupal.org/node/2834729
[10:33:09] <Druplicon> https://www.drupal.org/node/2834729 => Create an MVP for adding and re-using Media [#2834729] => 0 comments, 1 IRC mention
[10:33:23] mortenson (uid134201@gateway/web/irccloud.com/x-iylcctjfxlhbxtry) joined the channel
[10:35:06] <mortenson> webflo: https://www.drupal.org/node/2834729
[10:35:07] <Druplicon> https://www.drupal.org/node/2834729 => Create an MVP for adding and re-using Media [#2834729] => 0 comments, 2 IRC mentions
[10:35:21] <GaborHojtsy> webflo: ^^^
[10:38:06] <mortenson> webflo: http://cgit.drupalcode.org/entity_browser/tree/src/Plugin/EntityBrowser/Widget/View.php http://cgit.drupalcode.org/entity_browser/tree/js/entity_browser.view.js
[10:41:07] <mortenson> webflo: We implemented our own validation logic for the views checkbox, as in an AJAX view you may have <input /> tags that are dynamically added to the form, which means we have to do $form_state->getUserInput() instead of $form_state->getValues() http://cgit.drupalcode.org/entity_browser/tree/src/Plugin/EntityBrowser/Widget/View.php#n206
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment