You are here

public function ResourceManagerInterface::getVersionFromRequest in RESTful 7.2

Gets the major and minor version for the current request.

Return value

array The array with the version.

1 method overrides ResourceManagerInterface::getVersionFromRequest()
ResourceManager::getVersionFromRequest in src/Resource/ResourceManager.php
Gets the major and minor version for the current request.

File

src/Resource/ResourceManagerInterface.php, line 67
Contains \Drupal\restful\Resource\ResourceManagerInterface.

Class

ResourceManagerInterface

Namespace

Drupal\restful\Resource

Code

public function getVersionFromRequest();