function ResourceVersionRouteEnhancer::__construct
Same name in other branches
- 9 core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php \Drupal\jsonapi\Revisions\ResourceVersionRouteEnhancer::__construct()
- 10 core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php \Drupal\jsonapi\Revisions\ResourceVersionRouteEnhancer::__construct()
- 11.x core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php \Drupal\jsonapi\Revisions\ResourceVersionRouteEnhancer::__construct()
ResourceVersionRouteEnhancer constructor.
Parameters
\Drupal\jsonapi\Revisions\VersionNegotiator $version_negotiator_manager: The version negotiator.
File
-
core/
modules/ jsonapi/ src/ Revisions/ ResourceVersionRouteEnhancer.php, line 78
Class
- ResourceVersionRouteEnhancer
- Loads an appropriate revision for the requested resource version.
Namespace
Drupal\jsonapi\RevisionsCode
public function __construct(VersionNegotiator $version_negotiator_manager) {
$this->versionNegotiator = $version_negotiator_manager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.