code: function _embedGetter(self, fields, embedGetter, key) {
    let allOpts = [];
    self.res.locals.emiter.emit('get-options', embedGetter, allOpts);
    if (allOpts) {
      allOpts.forEach(function(obj) { obj.embedIn = key; });
      fields.push(...allOpts);
    }
  }
docs: get theme options to embed fields