Interface ICustomFieldType


public interface ICustomFieldType
This interface holds the configuration of custom field types
Since:
3.8.3
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the (localized) name of this custom field type.
    Returns the prototype for which this custom field type is defined.
    Gets the type of the custom field.
    Gets the id of the type uses for the string (for example "text/html").
  • Method Details

    • getTypeId

      @Nullable String getTypeId()
      Gets the id of the type uses for the string (for example "text/html"). If this method returns null, the custom field type is enum
    • getType

      @Nullable IType getType()
      Gets the type of the custom field. If this method returns null, the custom field type is enum
    • getPrototype

      @Nullable String getPrototype()
      Returns the prototype for which this custom field type is defined. Is null for every default type, external custom field type will return the prototype for which they are defined
    • getName

      @NotNull String getName()
      Returns the (localized) name of this custom field type. This is how it will appear in the combo box on the custom field administration page