/
admAddCustomFieldAlias
admAddCustomFieldAlias
Description
Adds a custom field alias in the sil.aliases file.
Parameters
Return Type
Boolean (true/false)
Returns 'true' if the custom field alias was added successfully in the sil.aliases file or already exists and 'false' otherwise.
Examples
Example 1
Setting a custom field alias using custom field id:
admAddCustomFieldAlias("customfield_10000", "TestAlias");
Example 2
Setting a custom field alias using custom field name:
admAddCustomFieldAlias("Text Field", "TestAlias");
See also
Peacock
, multiple selections available,
Related content
Predefined Structure Types
Predefined Structure Types
Read with this
admAddCustomFieldAlias
admAddCustomFieldAlias
More like this
admAddCustomFieldAlias
admAddCustomFieldAlias
More like this
admDeleteCustomField
admDeleteCustomField
More like this
admCreateFieldConfig
admCreateFieldConfig
More like this
admAddFieldToDefaultScreen
admAddFieldToDefaultScreen
More like this