You are here

protected property EntityDisplayModeBase::$cache in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php \Drupal\Core\Entity\EntityDisplayModeBase::cache
  2. 10 core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php \Drupal\Core\Entity\EntityDisplayModeBase::cache

Whether or not the rendered output of this view mode is cached by default.

Type: bool

File

core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php, line 54

Class

EntityDisplayModeBase
Base class for config entity types with settings for form and view modes.

Namespace

Drupal\Core\Entity

Code

protected $cache = TRUE;