Skip to content

Naming conventions

ekes edited this page Jun 4, 2020 · 8 revisions

Namespace prefix

content type,

views, and

module,

Prefix is always a descriptive name with localgov_ prefix.

fields

  • New, and refactored, fields drop field_ prefix.
  • Fields with no shared storage bundle _ descriptive_name,
  • Fields with shared storage descriptive_name

In all cases this should result in the field starting localgov_ if it's provided by the profile; and encourage site_ for site specific extensions.

View Displays

New, and refactored, view displays get descriptive names (rather than page_1 etc.)