Categories

Type
Class
Namespace
craft\fields
Inherits
craft\fields\Categories ยป craft\fields\BaseRelationField
Since
3.0

Categories represents a Categories field.

View source

Public Properties

PropertyDescription
branchLimitinteger, null โ€“ Branch limit

branchLimit

Type
integer, null

Branch limit

View source

Public Methods

defaultSelectionLabel()

View source

displayName()

View source

getInputHtml()

View source

Arguments

  • $value
  • $element

init()

View source

normalizeValue()

View source

Arguments

  • $value
  • $element

Protected Methods

elementType()

View source

inputTemplateVariables()

View source

Arguments

  • $value
  • $element