Actions

Contenttype form field type

From Joomla! Documentation

Provides a list of content types.

  • name (mandatory) is the unique name of the parameter.
  • type (mandatory) must be contenttype.
  • label (mandatory) (translatable) is the descriptive title of the field.
  • description (optional) (translatable) tooltip for the form field.


Example XML Definition

<field name="types" type="contenttype"
        label="COM_TAGS_FIELD_TYPE_LABEL"
        description="COM_TAGS_FIELD_TYPE_DESC"
        multiple="true" />