Field: Component Title - envris/White-Label-Help-Wiki GitHub Wiki

Brief description

The title of the component. Titles should be unique within the scope of a component.


Detailed description

The title is primarily used for organising content, and will be visible in CMS when editing the component. The title is not visible in the rendered display of content on the page.

The title will is to automatically generate an anchor link to the component on the rendered page. This allows content editors to link directly to specific content, which can be helpful on long pages. Spaces in the title are replaced by a '-' in the output anchor link. The format of the anchor link will be PAGE-URL#title-text

Because the title is used to generated an ID attribute for each component (to enable the anchor links), it is important that each title within a component is unique.


Technical description

The "Title" field properties:

  • Machine name: field_title
  • Field type: Text (plain)

The Title will be used for creating component anchor name in the front end.