summaryrefslogtreecommitdiff
path: root/modules/field/field.api.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/field/field.api.php')
-rw-r--r--modules/field/field.api.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php
index e37254a16..bc4e26690 100644
--- a/modules/field/field.api.php
+++ b/modules/field/field.api.php
@@ -149,6 +149,10 @@ function hook_field_extra_fields_alter(&$info) {
* instance definition. This formatter must be available whenever the field
* type is available (i.e. provided by the field type module, or by a module
* the field type module depends on).
+ * - no_ui: (optional) A boolean specifying that users should not be allowed
+ * to create fields and instances of this field type through the UI. Such
+ * fields can only be created programmatically with field_create_field()
+ * and field_create_instance(). Defaults to FALSE.
*
* @see hook_field_info_alter()
*/