public function CacheFragment::setType in RESTful 7.2
Set the type.
Parameters
string $type: The type.
File
- src/
RenderCache/ Entity/ CacheFragment.php, line 69 - Contains \Drupal\restful\RenderCache\Entity\CacheFragment.
Class
Namespace
Drupal\restful\RenderCache\EntityCode
public function setType($type) {
$this->type = $type;
}