-
- /**
- * Loads a form, calls a callback to insert.
- *
- * Leverages {@link Drupal.Ajax}' ability to have scoped (per-instance)
- * command implementations to be able to call a callback.
- *
- * @param {object} options
- * An object with the following keys:
- * @param {string} options.fieldID
- * The field ID that uniquely identifies the field for which this form
- * will be loaded.
- * @param {bool} options.nocssjs
- * Boolean indicating whether no CSS and JS should be returned (necessary
- * when the form is invisible to the user).
- * @param {bool} options.reset
- * Boolean indicating whether the data stored for this field's entity in
- * PrivateTempStore should be used or reset.
- * @param {function} callback
- * A callback function that will receive the form to be inserted, as well
- * as the ajax object, necessary if the callback wants to perform other
- * Ajax commands.
- */
- load: function (options, callback) {