RestResourceConfig::$granularity
Same name in other branches
- 9 core/modules/rest/src/Entity/RestResourceConfig.php \Drupal\rest\Entity\RestResourceConfig::granularity
- 8.9.x core/modules/rest/src/Entity/RestResourceConfig.php \Drupal\rest\Entity\RestResourceConfig::granularity
- 10 core/modules/rest/src/Entity/RestResourceConfig.php \Drupal\rest\Entity\RestResourceConfig::granularity
The REST resource configuration granularity.
Currently either:
- \Drupal\rest\RestResourceConfigInterface::METHOD_GRANULARITY
- \Drupal\rest\RestResourceConfigInterface::RESOURCE_GRANULARITY
Type: string
File
-
core/
modules/ rest/ src/ Entity/ RestResourceConfig.php, line 61
Class
- RestResourceConfig
- Defines a RestResourceConfig configuration entity class.
Namespace
Drupal\rest\EntityCode
protected $granularity;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.