diff --git a/core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php b/core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php index 01fefaf..b141660 100644 --- a/core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php +++ b/core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php @@ -11,7 +11,7 @@ use Drupal\Core\Config\Entity\ConfigEntityInterface; /** - * Base class for config entity types that hold settings for form and view modes. + * Base class for config entity types with settings for form and view modes. */ abstract class EntityDisplayModeBase extends ConfigEntityBase implements EntityDisplayModeInterface { @@ -20,14 +20,14 @@ * * @var string */ - public $id; + protected $id; /** * The human-readable name of the form or view mode. * * @var string */ - public $label; + protected $label; /** * The entity type this form or view mode is used for. @@ -37,7 +37,7 @@ * * @var string */ - public $targetEntityType; + protected $targetEntityType; /** * Whether or not this form or view mode has custom settings by default. @@ -56,7 +56,7 @@ * * @var bool */ - public $cache = TRUE; + protected $cache = TRUE; /** * {@inheritdoc}