class ComputedTestCacheableString

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/entity_test/src/Plugin/DataType/ComputedTestCacheableString.php \Drupal\entity_test\Plugin\DataType\ComputedTestCacheableString
  2. 10 core/modules/system/tests/modules/entity_test/src/Plugin/DataType/ComputedTestCacheableString.php \Drupal\entity_test\Plugin\DataType\ComputedTestCacheableString

The string data type with cacheability metadata.

The plain value of a string is a regular PHP string. For setting the value any PHP variable that casts to a string may be passed.

Hierarchy

Expanded class hierarchy of ComputedTestCacheableString

File

core/modules/system/tests/modules/entity_test/src/Plugin/DataType/ComputedTestCacheableString.php, line 17

Namespace

Drupal\entity_test\Plugin\DataType
View source
class ComputedTestCacheableString extends StringData implements RefinableCacheableDependencyInterface {
    use RefinableCacheableDependencyTrait;

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.