Documentation
¶
Overview ¶
Package schema - the forms module's ent schema, apart from the core's. A form is a core node and a submission's author a core user: Node and User are the module's stand-ins for their tables (migrations.Sets).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Webform ¶
Webform - the forms module's form: a node of type "form" (its title, address, SEO) with its own elements and submissions. Its elements are rows, not fields of a content type: each form has its own.
func (Webform) Annotations ¶
func (Webform) Annotations() []schema.Annotation
Annotations of the Webform.
type WebformElement ¶
WebformElement - one element (question) of a form.
func (WebformElement) Annotations ¶
func (WebformElement) Annotations() []schema.Annotation
Annotations of the WebformElement.
func (WebformElement) Fields ¶
func (WebformElement) Fields() []ent.Field
Fields of the WebformElement.
func (WebformElement) Indexes ¶
func (WebformElement) Indexes() []ent.Index
Indexes of the WebformElement.
type WebformSubmission ¶
WebformSubmission - one sent form.
func (WebformSubmission) Annotations ¶
func (WebformSubmission) Annotations() []schema.Annotation
Annotations of the WebformSubmission.
func (WebformSubmission) Edges ¶
func (WebformSubmission) Edges() []ent.Edge
Edges of the WebformSubmission.
func (WebformSubmission) Fields ¶
func (WebformSubmission) Fields() []ent.Field
Fields of the WebformSubmission.
func (WebformSubmission) Indexes ¶
func (WebformSubmission) Indexes() []ent.Index
Indexes of the WebformSubmission.
type WebformSubmissionValue ¶
WebformSubmissionValue - an element's value in a submission; a checkboxes element has a row per checked choice (delta).
func (WebformSubmissionValue) Annotations ¶
func (WebformSubmissionValue) Annotations() []schema.Annotation
Annotations of the WebformSubmissionValue.
func (WebformSubmissionValue) Edges ¶
func (WebformSubmissionValue) Edges() []ent.Edge
Edges of the WebformSubmissionValue.
func (WebformSubmissionValue) Fields ¶
func (WebformSubmissionValue) Fields() []ent.Field
Fields of the WebformSubmissionValue.
func (WebformSubmissionValue) Indexes ¶
func (WebformSubmissionValue) Indexes() []ent.Index
Indexes of the WebformSubmissionValue.