Skip to main content
Version: 5.1 (Archived)

Cachehandler Form Field

The cachehandler form field type provides a list of available cache handling options.

  • type (mandatory) must be cachehandler.
  • name (mandatory) is the unique name of the field.
  • label (mandatory) (translatable) is the field html label.
  • description (optional) (translatable) is the field description.

Implemented by: libraries/src/Form/Field/CachehandlerField.php

Example XML parameter definition

<field
name="cache_handler"
type="cachehandler"
label="COM_CONFIG_FIELD_CACHE_HANDLER_LABEL"
description="COM_CONFIG_FIELD_CACHE_HANDLER_DESC"
filter="word"
/>