Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Latest commit

 

History

History
25 lines (22 loc) · 562 Bytes

generate-cache-context.md

File metadata and controls

25 lines (22 loc) · 562 Bytes

generate:cache:context

Generate a cache context

Usage:

drupal generate:cache:context [options]
gcc

Available options

Option Details
--module Numele Modulului.
--cache-context The cache context name
--class Cache context class name
--services Încarcă serviciile din container.

Examples

  • Generate cache for a context specifying the module, the context name and its class
drupal generate:cache:context  \
  --module="modulename"  \
  --cache-context="ContextName"  \
  --class="DefaultCacheContext"