Update docs to reflect less metadata in default afform scope
[civicrm-core.git] / ext / afform / docs / style.md
index 58736e8ccdc4e358ecc615b362f84c9f9ee06189..5b9fb38abd72bdcb2525d1d8bbe8cf7ad9f89a05 100644 (file)
@@ -4,10 +4,10 @@
 
 The following naming conventions apply to directives defined within `afform.git`:
 
-* Standalone directives (e.g. `afModel` or `afField`), including forms (e.g. `afHtmlEditor`)
+* Standalone directives (e.g. `afEntity` or `afField`), including forms (e.g. `afHtmlEditor`)
     * The directive name must begin with the `af` prefix.
     * Supplemental attributes SHOULD NOT begin with the `af` prefix.
-    * Example: `<af-model type="Activity" name="myPhoneCall">`
+    * Example: `<af-entity type="Activity" name="myPhoneCall">`
 
 * Mix-in directives (e.g. `afMonaco` or `afApi4Action`)
     * The directive name must begin with the `af` prefix.
@@ -18,7 +18,7 @@ __Discussion__: These differ in two ways:
 
 * Namespacing
     * Standalone directives form an implicit namespace.
-      (*Anything passed to `<af-model>` is implicitly about `af-model`.)
+      (*Anything passed to `<af-entity>` is implicitly about `af-entity`.)
     * Mix-in directives must share a namespace with other potential mix-ins.
       (*The *)
 * Directive arguments