Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 760 Bytes

File metadata and controls

25 lines (20 loc) · 760 Bytes
sidebar_position title
2
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"
        />